On Sunday 29 April 2007 10:12, Tim Moloney wrote:
> Am I missing something obvious or should I just stick with the listener
> pattern?

uuuuuhhh... White-Board pattern is about the registration (of the listeners), 
and doesn't concern itself with what it is used for.

So, instead of;

 MyService service = doSomeLookupAndDealWithDynamism( MyService.class );
 service.addZoutListener( listener );

you would do;

 bundleContext.registerService( ZoutListener.class, listener, null );


Cheers
Niclas


Reply via email to