Package org.wso2.carbon.proxyadmin
Class ProxyAdminServiceComponent
java.lang.Object
org.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserver
org.wso2.carbon.proxyadmin.ProxyAdminServiceComponent
- All Implemented Interfaces:
org.wso2.carbon.utils.Axis2ConfigurationContextObserver
public class ProxyAdminServiceComponent
extends org.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.service.component.ComponentContext context) voidcreatedConfigurationContext(org.apache.axis2.context.ConfigurationContext configContext) protected voiddeactivate(org.osgi.service.component.ComponentContext context) protected voidsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService regService) protected voidsetServiceadminService(org.wso2.carbon.service.mgt.ServiceAdmin serviceAdmin) protected voidsetSynapseEnvironmentService(org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService synapseEnvironmentService) Here we receive an event about the creation of a SynapseEnvironment.protected voidsetSynapseRegistrationsService(org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService synapseRegistrationsService) protected voidunsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService regService) protected voidunsetServiceAdminService(org.wso2.carbon.service.mgt.ServiceAdmin serviceAdmin) protected voidunsetSynapseEnvironmentService(org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService synapseEnvironmentService) Here we receive an event about Destroying a SynapseEnvironment.protected voidunsetSynapseRegistrationsService(org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService synapseRegistrationsService) Methods inherited from class org.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserver
creatingConfigurationContext, terminatedConfigurationContext, terminatingConfigurationContext
-
Constructor Details
-
ProxyAdminServiceComponent
public ProxyAdminServiceComponent()
-
-
Method Details
-
activate
protected void activate(org.osgi.service.component.ComponentContext context) -
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext context) -
setSynapseEnvironmentService
protected void setSynapseEnvironmentService(org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService synapseEnvironmentService) Here we receive an event about the creation of a SynapseEnvironment. If this is SuperTenant we have to wait until all the other constraints are met and actual initialization is done in the activate method. Otherwise we have to do the activation here.- Parameters:
synapseEnvironmentService- SynapseEnvironmentService which contains information about the new Synapse Instance
-
unsetSynapseEnvironmentService
protected void unsetSynapseEnvironmentService(org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService synapseEnvironmentService) Here we receive an event about Destroying a SynapseEnvironment. This can be the super tenant destruction or a tenant destruction. But in this method we don't do anything- Parameters:
synapseEnvironmentService- synapseEnvironment
-
setSynapseRegistrationsService
protected void setSynapseRegistrationsService(org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService synapseRegistrationsService) -
unsetSynapseRegistrationsService
protected void unsetSynapseRegistrationsService(org.wso2.carbon.mediation.initializer.services.SynapseRegistrationsService synapseRegistrationsService) -
setServiceadminService
protected void setServiceadminService(org.wso2.carbon.service.mgt.ServiceAdmin serviceAdmin) -
unsetServiceAdminService
protected void unsetServiceAdminService(org.wso2.carbon.service.mgt.ServiceAdmin serviceAdmin) -
setRegistryService
protected void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService regService) -
unsetRegistryService
protected void unsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService regService) -
createdConfigurationContext
public void createdConfigurationContext(org.apache.axis2.context.ConfigurationContext configContext) - Specified by:
createdConfigurationContextin interfaceorg.wso2.carbon.utils.Axis2ConfigurationContextObserver- Overrides:
createdConfigurationContextin classorg.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserver
-