public class CmManagedServiceFactory extends BaseManagedServiceFactory<java.lang.Object>
BUNDLE_STOPPING, CONFIGURATION_ADMIN_OBJECT_DELETED, DEFAULT_TIMEOUT_BEFORE_INTERRUPT, INTERNAL_ERROR| Constructor and Description |
|---|
CmManagedServiceFactory(org.apache.aries.blueprint.services.ExtendedBlueprintContainer blueprintContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected java.lang.Object |
doCreate(java.util.Dictionary properties) |
protected void |
doDestroy(java.lang.Object service,
java.util.Dictionary properties,
int code) |
protected java.lang.Object |
doUpdate(java.lang.Object service,
java.util.Dictionary properties) |
protected java.lang.String[] |
getExposedClasses(java.lang.Object service) |
java.util.Map<org.osgi.framework.ServiceRegistration,java.lang.Object> |
getServiceMap() |
void |
init() |
protected void |
postRegister(java.lang.Object service,
java.util.Dictionary properties,
org.osgi.framework.ServiceRegistration registration) |
protected void |
preUnregister(java.lang.Object service,
java.util.Dictionary properties,
org.osgi.framework.ServiceRegistration registration) |
void |
setAutoExport(int autoExport) |
void |
setComponentDestroyMethod(java.lang.String componentDestroyMethod) |
void |
setFactoryPid(java.lang.String factoryPid) |
void |
setId(java.lang.String id) |
void |
setInterfaces(java.util.List<java.lang.String> interfaces) |
void |
setListeners(java.util.List<org.apache.aries.blueprint.utils.ServiceListener> listeners) |
void |
setManagedComponentName(java.lang.String managedComponentName) |
void |
setRanking(int ranking) |
void |
setServiceProperties(java.util.Map serviceProperties) |
checkConfiguration, deleted, getName, getServices, updatedpublic CmManagedServiceFactory(org.apache.aries.blueprint.services.ExtendedBlueprintContainer blueprintContainer)
public void init()
throws java.lang.Exception
java.lang.Exceptionpublic void destroy()
destroy in class BaseManagedServiceFactory<java.lang.Object>public java.util.Map<org.osgi.framework.ServiceRegistration,java.lang.Object> getServiceMap()
public void setListeners(java.util.List<org.apache.aries.blueprint.utils.ServiceListener> listeners)
public void setId(java.lang.String id)
public void setFactoryPid(java.lang.String factoryPid)
public void setInterfaces(java.util.List<java.lang.String> interfaces)
public void setAutoExport(int autoExport)
public void setRanking(int ranking)
public void setServiceProperties(java.util.Map serviceProperties)
public void setManagedComponentName(java.lang.String managedComponentName)
public void setComponentDestroyMethod(java.lang.String componentDestroyMethod)
protected java.lang.Object doCreate(java.util.Dictionary properties)
throws java.lang.Exception
doCreate in class BaseManagedServiceFactory<java.lang.Object>java.lang.Exceptionprotected java.lang.Object doUpdate(java.lang.Object service,
java.util.Dictionary properties)
throws java.lang.Exception
doUpdate in class BaseManagedServiceFactory<java.lang.Object>java.lang.Exceptionprotected void doDestroy(java.lang.Object service,
java.util.Dictionary properties,
int code)
throws java.lang.Exception
doDestroy in class BaseManagedServiceFactory<java.lang.Object>java.lang.Exceptionprotected void postRegister(java.lang.Object service,
java.util.Dictionary properties,
org.osgi.framework.ServiceRegistration registration)
postRegister in class BaseManagedServiceFactory<java.lang.Object>protected void preUnregister(java.lang.Object service,
java.util.Dictionary properties,
org.osgi.framework.ServiceRegistration registration)
preUnregister in class BaseManagedServiceFactory<java.lang.Object>protected java.lang.String[] getExposedClasses(java.lang.Object service)
getExposedClasses in class BaseManagedServiceFactory<java.lang.Object>Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.