1 Reply Latest reply on Feb 9, 2006 1:36 PM by aguizar

    Delegations, why are they used?

    mehmetbilgi

      What is the point of using delegations? I can see them everywhere (every plug-in point) in the code; TaskController, AssignmentHandler, etc.. And how they relate to serialization and deserialization of their counterparts (eg: a custom AssignmentHandler) ?

      Thanks in advance.
      M.Bilgi

        • 1. Re: Delegations, why are they used?
          aguizar

           

          What is the point of using delegations?

          There is no better way to let the developer using jBPM to incorporate custom code. Aggregation vs. inheritance.
          how they relate to serialization and deserialization of their counterparts (eg: a custom AssignmentHandler) ?

          Each field of the "counterparts" is saved to a column in the database, while the configuration for a delegation is saved as text so you don't have to map each of them.