Specified wrap() and cast() semantics
-------------------------------------

                 Key: QI-3
                 URL: http://issues.ops4j.org/jira/browse/QI-3
             Project: Qi4j
          Issue Type: Improvement
            Reporter: Niclas Hedhman
            Assignee: Rickard Öberg



A wrap() is a construct where the wrapped instance becomes the Mixin of the new 
composite object.

A cast() is a construct where the new casted composite object comprises of the 
mixins of the original object, plus new modifiers and new mixins.

Wrap is used for instance where the composite object is placed into another 
context. Whereas cast is more for modifying the role/behavior of a composite 
object within the same context.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to