public class OsgiServiceRegistryImpl extends Object implements OsgiServiceRegistry, org.springframework.beans.factory.DisposableBean
Proxy's that lazily use the
underlying ServiceTracker when invoked.| Constructor and Description |
|---|
OsgiServiceRegistryImpl(com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager osgiContainerManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
<T> T |
getService(Class<T> clazz)
Provides an implementation of the given interface T that is guaranteed to be backed by the highest ranked
OSGI service implementing T.
|
public OsgiServiceRegistryImpl(com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager osgiContainerManager)
public <T> T getService(Class<T> clazz)
OsgiServiceRegistrygetService in interface OsgiServiceRegistryCopyright © 2003–2015 Atlassian. All rights reserved.