public final class SingleServiceTracker<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SingleServiceTracker.SingleServiceListener |
| Constructor and Description |
|---|
SingleServiceTracker(org.osgi.framework.BundleContext context,
Class<T> clazz,
SingleServiceTracker.SingleServiceListener sl) |
SingleServiceTracker(org.osgi.framework.BundleContext context,
Class<T> clazz,
String filterString,
SingleServiceTracker.SingleServiceListener sl) |
public SingleServiceTracker(org.osgi.framework.BundleContext context,
Class<T> clazz,
SingleServiceTracker.SingleServiceListener sl)
public SingleServiceTracker(org.osgi.framework.BundleContext context,
Class<T> clazz,
String filterString,
SingleServiceTracker.SingleServiceListener sl)
throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxExceptionpublic T getService()
public org.osgi.framework.ServiceReference getServiceReference()
public void open()
public void close()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.