protected final class ServicesListener.Listener extends Object implements org.osgi.framework.ServiceListener
Constructor and Description |
---|
ServicesListener.Listener(String serviceName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
deactivate()
Unregister the listener.
|
Object |
getService()
Return the service (if available)
|
void |
serviceChanged(org.osgi.framework.ServiceEvent event) |
void |
start()
Start the listener.
|
public ServicesListener.Listener(String serviceName)
public void start()
public void deactivate()
public Object getService()
public void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged
in interface org.osgi.framework.ServiceListener
ServiceListener.serviceChanged(org.osgi.framework.ServiceEvent)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.