Class TenantServiceBusInitializer
- java.lang.Object
-
- org.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserver
-
- org.wso2.carbon.mediation.initializer.multitenancy.TenantServiceBusInitializer
-
- All Implemented Interfaces:
org.wso2.carbon.utils.Axis2ConfigurationContextObserver
public class TenantServiceBusInitializer extends org.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserverThis creates theSynapseConfigurationfor the respective tenants.
-
-
Constructor Summary
Constructors Constructor Description TenantServiceBusInitializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreatedConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)voidcreateSynapseDebugEnvironment(org.apache.synapse.ServerContextInformation contextInfo)creates Synapse debug environment creates TCP channels using command and event ports which initializes the interface to outer debugger set the relevant information in the server configuration so that it can be used when Synapse environment initializesStringgetProviderClass()protected booleanisRepoExists(org.wso2.carbon.registry.core.Registry registry)Checks whether the given repository already existing.booleanisRunningDebugMode(String tenantDomain)static booleanisRunningSamplesMode()voidterminatingConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)
-
-
-
Method Detail
-
createdConfigurationContext
public void createdConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)
- Specified by:
createdConfigurationContextin interfaceorg.wso2.carbon.utils.Axis2ConfigurationContextObserver- Overrides:
createdConfigurationContextin classorg.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserver
-
terminatingConfigurationContext
public void terminatingConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)
- Specified by:
terminatingConfigurationContextin interfaceorg.wso2.carbon.utils.Axis2ConfigurationContextObserver- Overrides:
terminatingConfigurationContextin classorg.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserver
-
createSynapseDebugEnvironment
public void createSynapseDebugEnvironment(org.apache.synapse.ServerContextInformation contextInfo)
creates Synapse debug environment creates TCP channels using command and event ports which initializes the interface to outer debugger set the relevant information in the server configuration so that it can be used when Synapse environment initializes- Parameters:
contextInfo- Server Context Information
-
isRepoExists
protected boolean isRepoExists(org.wso2.carbon.registry.core.Registry registry)
Checks whether the given repository already existing.- Returns:
-
isRunningDebugMode
public boolean isRunningDebugMode(String tenantDomain)
-
getProviderClass
public String getProviderClass()
-
isRunningSamplesMode
public static boolean isRunningSamplesMode()
-
-