On Thu, Dec 9, 2010 at 5:42 PM, Niclas Hedhman <[email protected]> wrote:

>  void release();

Correction; Since I think the same ServiceImporter instance is used to
import all declared services;

module.importServices( Service1.class, Service2.class ).importedBy(
MyImporter.class );

a single instance of MyImporter is created and called twice
importService( ImportedServiceDescriptor )...

If so, then the release() method should have two arguments;

void release( ImportedServiceDescriptor desriptor , Object instance );

where instance is the same object returned in the importService method call.


WDYT?


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

Reply via email to