The RemoteServiceListener interface is used by applications to register for remote service events. Has to be registered using the whiteboard pattern.
112811291130113111321133113411351136113711381139
final Filter filter = (Filter) ref .getProperty(RemoteServiceListener.FILTER); if (filter == null || filter.match(((RemoteServiceReferenceImpl) event .getRemoteReference()).getProperties())) { final RemoteServiceListener listener = (RemoteServiceListener) remoteServiceListenerTracker .getService(ref); if (listener != null) { listener.remoteServiceEvent(event); } } }