public class CmManagedServiceFactory extends BaseManagedServiceFactory<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 Object |
doCreate(Dictionary properties) |
protected void |
doDestroy(Object service,
Dictionary properties,
int code) |
protected Object |
doUpdate(Object service,
Dictionary properties) |
protected String[] |
getExposedClasses(Object service) |
Map<org.osgi.framework.ServiceRegistration,Object> |
getServiceMap() |
void |
init() |
protected void |
postRegister(Object service,
Dictionary properties,
org.osgi.framework.ServiceRegistration registration) |
protected void |
preUnregister(Object service,
Dictionary properties,
org.osgi.framework.ServiceRegistration registration) |
void |
setAutoExport(int autoExport) |
void |
setComponentDestroyMethod(String componentDestroyMethod) |
void |
setFactoryPid(String factoryPid) |
void |
setId(String id) |
void |
setInterfaces(List<String> interfaces) |
void |
setListeners(List<org.apache.aries.blueprint.utils.ServiceListener> listeners) |
void |
setManagedComponentName(String managedComponentName) |
void |
setRanking(int ranking) |
void |
setServiceProperties(Map serviceProperties) |
checkConfiguration, deleted, getName, getServices, updated
public CmManagedServiceFactory(org.apache.aries.blueprint.services.ExtendedBlueprintContainer blueprintContainer)
public void destroy()
destroy
in class BaseManagedServiceFactory<Object>
public void setListeners(List<org.apache.aries.blueprint.utils.ServiceListener> listeners)
public void setId(String id)
public void setFactoryPid(String factoryPid)
public void setAutoExport(int autoExport)
public void setRanking(int ranking)
public void setServiceProperties(Map serviceProperties)
public void setManagedComponentName(String managedComponentName)
public void setComponentDestroyMethod(String componentDestroyMethod)
protected Object doCreate(Dictionary properties) throws Exception
doCreate
in class BaseManagedServiceFactory<Object>
Exception
protected Object doUpdate(Object service, Dictionary properties) throws Exception
doUpdate
in class BaseManagedServiceFactory<Object>
Exception
protected void doDestroy(Object service, Dictionary properties, int code) throws Exception
doDestroy
in class BaseManagedServiceFactory<Object>
Exception
protected void postRegister(Object service, Dictionary properties, org.osgi.framework.ServiceRegistration registration)
postRegister
in class BaseManagedServiceFactory<Object>
protected void preUnregister(Object service, Dictionary properties, org.osgi.framework.ServiceRegistration registration)
preUnregister
in class BaseManagedServiceFactory<Object>
protected String[] getExposedClasses(Object service)
getExposedClasses
in class BaseManagedServiceFactory<Object>
Copyright © 2018. All rights reserved.