Package org.wso2.carbon.caching.impl
Class CachingAxisConfigurationObserver
- java.lang.Object
-
- org.wso2.carbon.caching.impl.CachingAxisConfigurationObserver
-
- All Implemented Interfaces:
org.wso2.carbon.utils.Axis2ConfigurationContextObserver
public class CachingAxisConfigurationObserver extends Object implements org.wso2.carbon.utils.Axis2ConfigurationContextObserver
TODO: class description
-
-
Constructor Summary
Constructors Constructor Description CachingAxisConfigurationObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreatedConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)voidcreatingConfigurationContext(int tenantId)voidterminatedConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)voidterminatingConfigurationContext(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
-
-
-
Method Detail
-
creatingConfigurationContext
public void creatingConfigurationContext(int tenantId)
- Specified by:
creatingConfigurationContextin interfaceorg.wso2.carbon.utils.Axis2ConfigurationContextObserver
-
createdConfigurationContext
public void createdConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)
- Specified by:
createdConfigurationContextin interfaceorg.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:
terminatingConfigurationContextin interfaceorg.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:
terminatedConfigurationContextin interfaceorg.wso2.carbon.utils.Axis2ConfigurationContextObserver
-
-