|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceListener
Callback interface for listeners interested in state changes of services.
Global service listening is initiated by registration via
ServiceReferenceEventRegistry.registerServiceListening(ServiceListener)
, the method
ServiceReferenceEventRegistry.unregisterServiceListening(ServiceListener)
removes service listening.
Method Summary | |
---|---|
void |
serviceChanged(ServiceReference serviceRef,
Service service)
Callback method, if service within the ServiceReference has been
changed. |
void |
serviceCreated(ServiceReference serviceRef,
Service service)
Callback method, if the service within the ServiceReference was
created. |
void |
serviceDisposed(ServiceReference serviceRef)
Callback method, if the service within the ServiceReference was
disposed of. |
Method Detail |
---|
void serviceChanged(ServiceReference serviceRef, Service service)
ServiceReference
has been
changed.
serviceRef
- a reference to the service that caused the notificationthe
- service that has just been createdvoid serviceCreated(ServiceReference serviceRef, Service service)
ServiceReference
was
created.
serviceRef
- a reference to the service that caused the notification
qpram service the service that just have changedvoid serviceDisposed(ServiceReference serviceRef)
ServiceReference
was
disposed of.
serviceRef
- a reference to the service that caused the notification
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |