> > > And how search a reference of > service using this property? > > It worth noticing that the example you are providing is not iPOJO related it's plain OSGi.
To answer your question: First you need a ServiceReference you can get it using where you give a filter with the required service parameters: http://www.osgi.org/javadoc/r4v43/org/osgi/framework/BundleContext.html#getServiceReferences(java.lang.Class, java.lang.String) then you get your service using: http://www.osgi.org/javadoc/r4v43/org/osgi/framework/BundleContext.html#getService(org.osgi.framework.ServiceReference) However this is not considered robust coding practice in OSGi world, you'd better look into ServiceTracker and whiteboard pattern http://www.osgi.org/wiki/uploads/Links/whiteboard.pdf Guys isn't that called Hooks in R4r3? HTH, --Daoud. > > Thank you for answering me. > > Best regards, > > > > > > -- > > Fairouz FAKHFAKH > > Master student > > Research group ReDCAD > > National School of > Engineers of Sfax , Tunisia > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

