Class MessageProcessorServiceComponent

  • All Implemented Interfaces:
    org.wso2.carbon.utils.Axis2ConfigurationContextObserver

    public class MessageProcessorServiceComponent
    extends org.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserver
    • Constructor Detail

      • MessageProcessorServiceComponent

        public MessageProcessorServiceComponent()
    • Method Detail

      • activate

        protected void activate​(org.osgi.service.component.ComponentContext ctxt)
      • deactivate

        protected void deactivate​(org.osgi.service.component.ComponentContext context)
      • setConfigurationContextService

        protected void setConfigurationContextService​(org.wso2.carbon.utils.ConfigurationContextService cfgCtxService)
      • unsetConfigurationContextService

        protected void unsetConfigurationContextService​(org.wso2.carbon.utils.ConfigurationContextService cfgCtxService)
      • setSynapseConfigurationService

        protected void setSynapseConfigurationService​(org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService synapseConfigurationService)
      • unsetSynapseConfigurationService

        protected void unsetSynapseConfigurationService​(org.wso2.carbon.mediation.initializer.services.SynapseConfigurationService synapseConfigurationService)
      • 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.
        Parameters:
        synapseEnvironmentService - synapseEnvironment
      • setRegistryService

        protected void setRegistryService​(org.wso2.carbon.registry.core.service.RegistryService regService)
      • 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 service)
      • unsetServiceAdminService

        protected void unsetServiceAdminService​(org.wso2.carbon.service.mgt.ServiceAdmin service)
      • unsetRegistryService

        protected void unsetRegistryService​(org.wso2.carbon.registry.core.service.RegistryService regService)
      • setDependencyManager

        protected void setDependencyManager​(org.wso2.carbon.mediation.dependency.mgt.services.DependencyManagementService dependencyMgr)
      • unsetDependencyManager

        protected void unsetDependencyManager​(org.wso2.carbon.mediation.dependency.mgt.services.DependencyManagementService dependencyMgr)
      • createdConfigurationContext

        public void createdConfigurationContext​(org.apache.axis2.context.ConfigurationContext configContext)
        Specified by:
        createdConfigurationContext in interface org.wso2.carbon.utils.Axis2ConfigurationContextObserver
        Overrides:
        createdConfigurationContext in class org.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserver