OpenEngSB
  1. OpenEngSB
  2. OPENENGSB-3463

Wonderland: instantiation operation is not entirely functional

    Details

    • Changelog:
      Hide
      The instantiation operation now takes 0 to n source fields.
      All of these source fields are considered in the operation execution independent if a method or a constructor is called.
      Also the instantiation operation now uses the model registry to load models if the objects are models (in that case, the target type must have the form "{modelname}:{modelVersion}")
      Show
      The instantiation operation now takes 0 to n source fields. All of these source fields are considered in the operation execution independent if a method or a constructor is called. Also the instantiation operation now uses the model registry to load models if the objects are models (in that case, the target type must have the form "{modelname}:{modelVersion}")

      Description

      The instantiation operation now has some flaws:

      • it is not able to simply instantiate an object (e.g. if you want to create a sub model instance) without a parameter. The source-field parameter should be optional for this operation
      • also it should be possible to add more than one source-field, since there could be objects which take more than one object as constructor parameter
      • in addition, it currently only trying to load the model with the local class loader, but it should also try to load the model via delegation IMHO.

        Gliffy Diagrams

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          Andreas Pieber added a comment -

          is this really a bug? sounds like kind of an improvement to me.

          Show
          Andreas Pieber added a comment - is this really a bug? sounds like kind of an improvement to me.
          Hide
          Felix Mayerhuber added a comment -

          right, thx. Must have forgotten to change the type during creation

          Show
          Felix Mayerhuber added a comment - right, thx. Must have forgotten to change the type during creation

            People

            • Assignee:
              Felix Mayerhuber
              Reporter:
              Felix Mayerhuber
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: