Class CachingAxisConfigurationObserver

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

    public class CachingAxisConfigurationObserver
    extends Object
    implements org.wso2.carbon.utils.Axis2ConfigurationContextObserver
    TODO: class description
    • Constructor Detail

      • CachingAxisConfigurationObserver

        public CachingAxisConfigurationObserver()
    • Method Detail

      • creatingConfigurationContext

        public void creatingConfigurationContext​(int tenantId)
        Specified by:
        creatingConfigurationContext in interface org.wso2.carbon.utils.Axis2ConfigurationContextObserver
      • createdConfigurationContext

        public void createdConfigurationContext​(org.apache.axis2.context.ConfigurationContext configurationContext)
        Specified by:
        createdConfigurationContext in interface org.wso2.carbon.utils.Axis2ConfigurationContextObserver
      • terminatingConfigurationContext

        public void terminatingConfigurationContext​(org.apache.axis2.context.ConfigurationContext configurationContext)
        In this method, we stop & remove all caches belonging to this tenant Issue: if the tenant is active on other nodes, those also may get removed? Remove only local caches on order to deal with issues that can arise when the cache in distributed
        Specified by:
        terminatingConfigurationContext in interface org.wso2.carbon.utils.Axis2ConfigurationContextObserver
        Parameters:
        configurationContext - to Get the required information related to tenant
      • terminatedConfigurationContext

        public void terminatedConfigurationContext​(org.apache.axis2.context.ConfigurationContext configurationContext)
        Specified by:
        terminatedConfigurationContext in interface org.wso2.carbon.utils.Axis2ConfigurationContextObserver