Class AppDeployerServiceComponent
- java.lang.Object
-
- org.wso2.carbon.application.deployer.internal.AppDeployerServiceComponent
-
- All Implemented Interfaces:
EventListener,org.osgi.framework.ServiceListener
public class AppDeployerServiceComponent extends Object implements org.osgi.framework.ServiceListener
-
-
Constructor Summary
Constructors Constructor Description AppDeployerServiceComponent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate(org.osgi.service.component.ComponentContext ctxt)booleanaddCAppDeployer(org.apache.axis2.engine.AxisConfiguration axisConfiguration)protected voiddeactivate(org.osgi.service.component.ComponentContext ctxt)static org.osgi.framework.BundleContextgetBundleContext()static org.wso2.carbon.registry.core.service.RegistryServicegetRegistryService()static Map<String,List<Feature>>getRequiredFeatures()voidserviceChanged(org.osgi.framework.ServiceEvent serviceEvent)protected voidsetAppHandler(AppDeploymentHandler handler)protected voidsetConfigurationContext(org.wso2.carbon.utils.ConfigurationContextService configCtx)protected voidsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService regService)protected voidunsetAppHandler(AppDeploymentHandler handler)protected voidunsetConfigurationContext(org.wso2.carbon.utils.ConfigurationContextService configCtx)protected voidunsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService regService)
-
-
-
Method Detail
-
activate
protected void activate(org.osgi.service.component.ComponentContext ctxt)
-
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext ctxt)
-
setRegistryService
protected void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService regService)
-
unsetRegistryService
protected void unsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService regService)
-
setAppHandler
protected void setAppHandler(AppDeploymentHandler handler)
-
unsetAppHandler
protected void unsetAppHandler(AppDeploymentHandler handler)
-
getRegistryService
public static org.wso2.carbon.registry.core.service.RegistryService getRegistryService() throws Exception- Throws:
Exception
-
getBundleContext
public static org.osgi.framework.BundleContext getBundleContext()
-
setConfigurationContext
protected void setConfigurationContext(org.wso2.carbon.utils.ConfigurationContextService configCtx)
-
unsetConfigurationContext
protected void unsetConfigurationContext(org.wso2.carbon.utils.ConfigurationContextService configCtx)
-
serviceChanged
public void serviceChanged(org.osgi.framework.ServiceEvent serviceEvent)
- Specified by:
serviceChangedin interfaceorg.osgi.framework.ServiceListener
-
addCAppDeployer
public boolean addCAppDeployer(org.apache.axis2.engine.AxisConfiguration axisConfiguration)
-
-