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
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOSGiServiceFactory
(String className) OSGiServiceFactory
(org.osgi.framework.Bundle bundle, String className) -
Method Summary
Modifier and TypeMethodDescriptiongetService
(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
-
Field Details
-
clazz
-
reg
protected org.osgi.framework.ServiceRegistration reg
-
-
Constructor Details
-
OSGiServiceFactory
-
OSGiServiceFactory
-
-
Method Details
-
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()
-