protected class ComponentInstanceImpl.OSGiServiceFactory extends Object implements org.osgi.framework.ServiceFactory
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
clazz |
protected org.osgi.framework.ServiceRegistration |
reg |
Constructor and Description |
---|
OSGiServiceFactory(org.osgi.framework.Bundle bundle,
String className) |
OSGiServiceFactory(String className) |
Modifier and Type | Method and 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() |
protected org.osgi.framework.ServiceRegistration reg
public OSGiServiceFactory(String className)
public OSGiServiceFactory(org.osgi.framework.Bundle bundle, String className)
public Object getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration)
getService
in interface org.osgi.framework.ServiceFactory
public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration registration, Object service)
ungetService
in interface org.osgi.framework.ServiceFactory
public void register()
public void unregister()
Copyright © 2016 Nuxeo SA. All rights reserved.