public final class ServiceLocator extends Object
| Modifier and Type | Field and Description |
|---|---|
static Long |
DEFAULT_TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
awaitService(org.osgi.framework.BundleContext bundleContext,
Class<T> type) |
static <T> T |
awaitService(org.osgi.framework.BundleContext bundleContext,
Class<T> type,
long timeout,
TimeUnit unit) |
static <T> T |
awaitService(org.osgi.framework.BundleContext bundleContext,
Class<T> type,
String filter) |
static <T> T |
awaitService(org.osgi.framework.BundleContext bundleContext,
Class<T> type,
String filterspec,
long timeout,
TimeUnit unit) |
public static final Long DEFAULT_TIMEOUT
public static <T> T awaitService(org.osgi.framework.BundleContext bundleContext,
Class<T> type)
public static <T> T awaitService(org.osgi.framework.BundleContext bundleContext,
Class<T> type,
long timeout,
TimeUnit unit)
public static <T> T awaitService(org.osgi.framework.BundleContext bundleContext,
Class<T> type,
String filter)
Copyright © 2011–2014 Red Hat. All rights reserved.