org.wso2.carbon.utils
Interface Axis2ConfigurationContextObserver

All Known Implementing Classes:
AbstractAxis2ConfigurationContextObserver

public interface Axis2ConfigurationContextObserver

This observer will be notified when a new Axis2 ConfigurationContext is created & populated or destroyed


Method Summary
 void createdConfigurationContext(org.apache.axis2.context.ConfigurationContext configContext)
          This method will be notified after a new Axis2 ConfigurationContext is created
 void creatingConfigurationContext(int tenantId)
          This method will be notified just before creating a new ConfigurationContext for any tenant
 void terminatedConfigurationContext(org.apache.axis2.context.ConfigurationContext configCtx)
          Notification after a ConfigurationContext has been terminated
 void terminatingConfigurationContext(org.apache.axis2.context.ConfigurationContext configCtx)
          Notification before a ConfigurationContext is terminated
 

Method Detail

creatingConfigurationContext

void creatingConfigurationContext(int tenantId)
This method will be notified just before creating a new ConfigurationContext for any tenant

Parameters:
tenantId - The ID of the tenant

createdConfigurationContext

void createdConfigurationContext(org.apache.axis2.context.ConfigurationContext configContext)
This method will be notified after a new Axis2 ConfigurationContext is created

Parameters:
configContext - The newly created ConfigurationContext

terminatingConfigurationContext

void terminatingConfigurationContext(org.apache.axis2.context.ConfigurationContext configCtx)
Notification before a ConfigurationContext is terminated

Parameters:
configCtx - The ConfigurationContext which will be terminated

terminatedConfigurationContext

void terminatedConfigurationContext(org.apache.axis2.context.ConfigurationContext configCtx)
Notification after a ConfigurationContext has been terminated

Parameters:
configCtx - The ConfigurationContext which was terminated


Copyright © 2014 WSO2 Inc. All rights reserved.