On 2010-12-08 17.14, Niclas Hedhman wrote:
If I do;

@This
private ServiceComposite meAsService;

I get a Proxy that is different from what is returned by;

serviceFinder.findService( MyService.class ).get();


1) Is the meAsService actually 'sharable' to external parties?

2) Is there a way to 'normalize' this to be the same thing?

The reference from the finder allows the underlying composite to be passivated, which the myAsService does not. It would probably be better to do @Service MyService myself to get an exportable reference.

/Rickard


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

Reply via email to