On 2/2/12 22:56 , Niclas Hedhman wrote:
In the past it was possible to do;
@This Composite me;
Class c = me.type():
to get hold of the Composite Type that for instance a concern belongs to.
In the new world right now, one have to do instanceof checks to
determine which Qi4j.getXyzDescriptor() to be called.
This is important aspect for generic libraries, which can be used in
any composite metatype.
I would like to add methods for each of the supertypes in the
Qi4j,getXyzDescriptor() hierarchies, so that there are
getModelDescriptor(), getCompositeDescriptor(),
getIdentityDescriptor() and getImportedServiceDescriptor() to Qi4j
interface.
WDYT?
Works for me!
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev