On Thu, Jun 23, 2011 at 11:26 AM, Rickard Öberg <[email protected]> wrote: > EntityComposite extends Entity (no methods) and Identity (only has the > identity() property). Identity could easily be added as a role, for the > rest, see above.
Is Identity not a more core concept than a role? Entity can't exist without Identity. Or are you simply saying that module.entities( MyType.class ), will add the Identity role at that point (well, that makes sense)... > ValueDescriptor valueDescriptor = (ValueDescriptor) > ((CompositeInstance)Proxy.getInvocationHandler( value )).descriptor(); > as CompositeInstance is now in API and the descriptors are in SPI. Uhhhh.... NO! We shouldn't document this as a way to get stuff. Too much implementation details being exposed, and I object strongly that this is promoted to API. Perhaps promoting the accessors in Qi4jSPI to Qi4j (API) to make it more obvious. Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/3xugrbk I work here; http://tinyurl.com/24svnvk I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

