Package org.wso2.carbon.utils
Class AbstractAxis2ConfigurationContextObserver
java.lang.Object
org.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserver
- All Implemented Interfaces:
Axis2ConfigurationContextObserver
public abstract class AbstractAxis2ConfigurationContextObserver
extends Object
implements Axis2ConfigurationContextObserver
This is an abstract implementation of the Axis2ConfigurationContextObserver interface. It
does not perform any action on the events fired by the above interface and exists for the
sole purpose of providing an extension point.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatedConfigurationContext(org.apache.axis2.context.ConfigurationContext configContext) This method will be notified after a new Axis2 ConfigurationContext is createdvoidcreatingConfigurationContext(int tenantId) This method will be notified just before creating a new ConfigurationContext for any tenantvoidterminatedConfigurationContext(org.apache.axis2.context.ConfigurationContext configCtx) Notification after a ConfigurationContext has been terminatedvoidterminatingConfigurationContext(org.apache.axis2.context.ConfigurationContext configCtx) Notification before a ConfigurationContext is terminated
-
Constructor Details
-
AbstractAxis2ConfigurationContextObserver
public AbstractAxis2ConfigurationContextObserver()
-
-
Method Details
-
creatingConfigurationContext
public void creatingConfigurationContext(int tenantId) Description copied from interface:Axis2ConfigurationContextObserverThis method will be notified just before creating a new ConfigurationContext for any tenant- Specified by:
creatingConfigurationContextin interfaceAxis2ConfigurationContextObserver- Parameters:
tenantId- The ID of the tenant
-
createdConfigurationContext
public void createdConfigurationContext(org.apache.axis2.context.ConfigurationContext configContext) Description copied from interface:Axis2ConfigurationContextObserverThis method will be notified after a new Axis2 ConfigurationContext is created- Specified by:
createdConfigurationContextin interfaceAxis2ConfigurationContextObserver- Parameters:
configContext- The newly created ConfigurationContext
-
terminatingConfigurationContext
public void terminatingConfigurationContext(org.apache.axis2.context.ConfigurationContext configCtx) Description copied from interface:Axis2ConfigurationContextObserverNotification before a ConfigurationContext is terminated- Specified by:
terminatingConfigurationContextin interfaceAxis2ConfigurationContextObserver- Parameters:
configCtx- The ConfigurationContext which will be terminated
-
terminatedConfigurationContext
public void terminatedConfigurationContext(org.apache.axis2.context.ConfigurationContext configCtx) Description copied from interface:Axis2ConfigurationContextObserverNotification after a ConfigurationContext has been terminated- Specified by:
terminatedConfigurationContextin interfaceAxis2ConfigurationContextObserver- Parameters:
configCtx- The ConfigurationContext which was terminated
-