public static class OSGiServiceImporter.ServiceTrackerHandler extends org.osgi.util.tracker.ServiceTracker implements InvocationHandler
| Constructor and Description |
|---|
ServiceTrackerHandler(org.osgi.framework.BundleContext context,
Class typeToImport) |
| Modifier and Type | Method and Description |
|---|---|
Object |
addingService(org.osgi.framework.ServiceReference reference) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
boolean |
isAvailable() |
void |
removedService(org.osgi.framework.ServiceReference reference,
Object service) |
public ServiceTrackerHandler(org.osgi.framework.BundleContext context,
Class typeToImport)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic Object addingService(org.osgi.framework.ServiceReference reference)
addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizeraddingService in class org.osgi.util.tracker.ServiceTrackerpublic void removedService(org.osgi.framework.ServiceReference reference,
Object service)
removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizerremovedService in class org.osgi.util.tracker.ServiceTrackerpublic boolean isAvailable()