Alex Shneyderman wrote:
module.addServices( QrmEntityStoreService.class ).setMetaInfo( yourobject );

which is available to the Mixins via an injected ServiceDescriptor.

@State private ServiceDescriptor descriptor;

just to test your suggestoins I did this:

        module.addServices( QrmEntityStoreService.class )
            .setMetaInfo( new String("meta-info") )
            .instantiateOnStartup();

in mixin I do this

@State StateDescriptor descriptor;

Blah, forget my previous reply, it should be this:
@Uses ServiceDescriptor descriptor;

Note type and annotation.

/Rickard


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to