Agemo Cui wrote:
Thanks Agemo for your quick answer. I'm going to try writing a component that implemets the ServiceListener interface, and that registers itself as a ServiceListener in its own BundleContext (I don't know if this is "sane", but I'm going to try it anyway) using this method: /** This method is called when the component is activated */ protected void activate(ComponentContext context) { context.getBundleContext().addServiceListener(this); } I also have to check if the filter selects also classes that implement sub-interfaces/sub-classes of the one specified in the filter. The quickest way of doing this is to try it ;) Thanks again. --
|
Title: Soluta Signature
- Avoiding Class.forName Guido Spadotto
- Re: Avoiding Class.forName Agemo Cui
- Re: Avoiding Class.forName Agemo Cui
- Re: Avoiding Class.forName Guido Spadotto
- Re: Avoiding Class.forName Agemo Cui
- Re: Avoiding Class.forName Agemo Cui
- Re: Avoiding Class.forName Guido Spadotto
- Re: Avoiding Class.forName Neil Bartlett
- Re: Avoiding Class.forName Guido Spadotto

