public class ServiceTrackerFactory
extends java.lang.Object
Constructor and Description |
---|
ServiceTrackerFactory() |
Modifier and Type | Method and Description |
---|---|
static <T> org.osgi.util.tracker.ServiceTracker<T,T> |
create(org.osgi.framework.Bundle bundle,
java.lang.Class<T> clazz) |
static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> |
create(org.osgi.framework.BundleContext bundleContext,
java.lang.Class<S> clazz,
org.osgi.util.tracker.ServiceTrackerCustomizer<S,T> serviceTrackerCustomizer) |
static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> |
create(org.osgi.framework.BundleContext bundleContext,
java.lang.String filterString) |
static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> |
create(org.osgi.framework.BundleContext bundleContext,
java.lang.String filterString,
org.osgi.util.tracker.ServiceTrackerCustomizer<S,T> serviceTrackerCustomizer) |
static <T> org.osgi.util.tracker.ServiceTracker<T,T> |
create(java.lang.Class<T> clazz) |
static <T> org.osgi.util.tracker.ServiceTracker<T,T> |
open(org.osgi.framework.Bundle bundle,
java.lang.Class<T> clazz) |
static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> |
open(org.osgi.framework.BundleContext bundleContext,
java.lang.Class<S> clazz,
org.osgi.util.tracker.ServiceTrackerCustomizer<S,T> serviceTrackerCustomizer) |
static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> |
open(org.osgi.framework.BundleContext bundleContext,
java.lang.String filterString) |
static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> |
open(org.osgi.framework.BundleContext bundleContext,
java.lang.String filterString,
org.osgi.util.tracker.ServiceTrackerCustomizer<S,T> serviceTrackerCustomizer) |
static <T> org.osgi.util.tracker.ServiceTracker<T,T> |
open(java.lang.Class<T> clazz) |
public static <T> org.osgi.util.tracker.ServiceTracker<T,T> create(org.osgi.framework.Bundle bundle, java.lang.Class<T> clazz)
public static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> create(org.osgi.framework.BundleContext bundleContext, java.lang.Class<S> clazz, org.osgi.util.tracker.ServiceTrackerCustomizer<S,T> serviceTrackerCustomizer)
public static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> create(org.osgi.framework.BundleContext bundleContext, java.lang.String filterString) throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
public static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> create(org.osgi.framework.BundleContext bundleContext, java.lang.String filterString, org.osgi.util.tracker.ServiceTrackerCustomizer<S,T> serviceTrackerCustomizer) throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
public static <T> org.osgi.util.tracker.ServiceTracker<T,T> create(java.lang.Class<T> clazz)
public static <T> org.osgi.util.tracker.ServiceTracker<T,T> open(org.osgi.framework.Bundle bundle, java.lang.Class<T> clazz)
public static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> open(org.osgi.framework.BundleContext bundleContext, java.lang.Class<S> clazz, org.osgi.util.tracker.ServiceTrackerCustomizer<S,T> serviceTrackerCustomizer)
public static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> open(org.osgi.framework.BundleContext bundleContext, java.lang.String filterString) throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
public static <S,T> org.osgi.util.tracker.ServiceTracker<S,T> open(org.osgi.framework.BundleContext bundleContext, java.lang.String filterString, org.osgi.util.tracker.ServiceTrackerCustomizer<S,T> serviceTrackerCustomizer) throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
public static <T> org.osgi.util.tracker.ServiceTracker<T,T> open(java.lang.Class<T> clazz)