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 -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.BundleContextstatic org.wso2.carbon.registry.core.service.RegistryServicevoidserviceChanged(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)
-
Constructor Details
-
AppDeployerServiceComponent
public AppDeployerServiceComponent()
-
-
Method Details
-
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
-
unsetAppHandler
-
getRegistryService
public static org.wso2.carbon.registry.core.service.RegistryService getRegistryService() throws Exception- Throws:
Exception
-
getBundleContext
public static org.osgi.framework.BundleContext getBundleContext() -
getRequiredFeatures
-
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)
-