Package org.nuxeo.runtime.model.impl
Class ComponentInstanceImpl.OSGiServiceFactory
- java.lang.Object
-
- org.nuxeo.runtime.model.impl.ComponentInstanceImpl.OSGiServiceFactory
-
- All Implemented Interfaces:
org.osgi.framework.ServiceFactory
- Enclosing class:
- ComponentInstanceImpl
protected class ComponentInstanceImpl.OSGiServiceFactory extends Object implements org.osgi.framework.ServiceFactory
-
-
Constructor Summary
Constructors Constructor Description OSGiServiceFactory(String className)
OSGiServiceFactory(org.osgi.framework.Bundle bundle, String className)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)
void
register()
void
ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, Object service)
void
unregister()
-
-
-
Field Detail
-
clazz
protected Class<?> clazz
-
reg
protected org.osgi.framework.ServiceRegistration reg
-
-
Method Detail
-
getService
public Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)
- Specified by:
getService
in interfaceorg.osgi.framework.ServiceFactory
-
ungetService
public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, Object service)
- Specified by:
ungetService
in interfaceorg.osgi.framework.ServiceFactory
-
register
public void register()
-
unregister
public void unregister()
-
-