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.AbstractAxis2ConfigurationContextObserver
This creates the
SynapseConfiguration
for the respective tenants.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatedConfigurationContext(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 initializesprotected booleanisRepoExists(org.wso2.carbon.registry.core.Registry registry) Checks whether the given repository already existing.booleanisRunningDebugMode(String tenantDomain) static booleanvoidterminatingConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext) Methods inherited from class org.wso2.carbon.utils.AbstractAxis2ConfigurationContextObserver
creatingConfigurationContext, terminatedConfigurationContext
-
Constructor Details
-
TenantServiceBusInitializer
public TenantServiceBusInitializer()
-
-
Method Details
-
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
-
getProviderClass
-
isRunningSamplesMode
public static boolean isRunningSamplesMode()
-