Package org.fedoraproject.p2.osgi.impl
Class DefaultOSGiServiceLocator
- java.lang.Object
-
- org.fedoraproject.p2.osgi.impl.DefaultOSGiServiceLocator
-
- All Implemented Interfaces:
OSGiServiceLocator
public class DefaultOSGiServiceLocator extends java.lang.Object implements OSGiServiceLocator
-
-
Field Summary
Fields Modifier and Type Field Description private OSGiFramework
framework
-
Constructor Summary
Constructors Constructor Description DefaultOSGiServiceLocator(OSGiFramework framework)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getService(java.lang.Class<T> clazz)
-
-
-
Field Detail
-
framework
private final OSGiFramework framework
-
-
Constructor Detail
-
DefaultOSGiServiceLocator
public DefaultOSGiServiceLocator(OSGiFramework framework)
-
-
Method Detail
-
getService
public <T> T getService(java.lang.Class<T> clazz)
- Specified by:
getService
in interfaceOSGiServiceLocator
-
-