T
- The type to trackpublic class ServiceObjectTracker<T> extends Object
ServiceObjects
and the services retrieved from them.Constructor and Description |
---|
ServiceObjectTracker(org.osgi.framework.BundleContext bundleContext,
Class<T> clazz)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes this services which leads to ungetting all retrieved services.
|
T |
getService()
Retrieves the Service.
|
public T getService()
ServiceObjects.getService()
public void dispose()
ServiceObjects.ungetService(Object)
Copyright © 2019. All rights reserved.