public class DefaultOSGiServiceLocator extends java.lang.Object implements OSGiServiceLocator
Modifier and Type | Field and Description |
---|---|
private OSGiFramework |
framework |
Constructor and Description |
---|
DefaultOSGiServiceLocator(OSGiFramework framework) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getService(java.lang.Class<T> clazz) |
private final OSGiFramework framework
public DefaultOSGiServiceLocator(OSGiFramework framework)
public <T> T getService(java.lang.Class<T> clazz)
getService
in interface OSGiServiceLocator