Class AbstractServiceBusAdmin
java.lang.Object
org.wso2.carbon.core.AbstractAdmin
org.wso2.carbon.mediation.initializer.AbstractServiceBusAdmin
public class AbstractServiceBusAdmin
extends org.wso2.carbon.core.AbstractAdmin
-
Field Summary
Fields inherited from class org.wso2.carbon.core.AbstractAdmin
axisConfig, configurationContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LockgetLock()protected MediationPersistenceManagerHelper method to get the persistence mangerprotected org.apache.synapse.ServerConfigurationInformationprotected org.apache.synapse.ServerContextInformationprotected org.apache.synapse.config.SynapseConfigurationHelper method to retrieve the Synapse configuration from the relevant axis configurationprotected org.apache.synapse.core.SynapseEnvironmentHelper method to retrieve the Synapse environment from the relevant axis configurationprotected org.apache.synapse.core.SynapseEnvironmentgetSynapseEnvironment(org.apache.axis2.engine.AxisConfiguration axisCfg) protected voidprotected voidMethods inherited from class org.wso2.carbon.core.AbstractAdmin
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUserId, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
-
Constructor Details
-
AbstractServiceBusAdmin
public AbstractServiceBusAdmin()
-
-
Method Details
-
getSynapseConfiguration
protected org.apache.synapse.config.SynapseConfiguration getSynapseConfiguration()Helper method to retrieve the Synapse configuration from the relevant axis configuration- Returns:
- extracted SynapseConfiguration from the relevant AxisConfiguration
-
getSynapseEnvironment
protected org.apache.synapse.core.SynapseEnvironment getSynapseEnvironment()Helper method to retrieve the Synapse environment from the relevant axis configuration- Returns:
- extracted SynapseEnvironment from the relevant AxisConfiguration
-
getSynapseEnvironment
protected org.apache.synapse.core.SynapseEnvironment getSynapseEnvironment(org.apache.axis2.engine.AxisConfiguration axisCfg) -
getMediationPersistenceManager
Helper method to get the persistence manger- Returns:
- persistence manager for this configuration context
-
getServerConfigurationInformation
protected org.apache.synapse.ServerConfigurationInformation getServerConfigurationInformation() -
getServerContextInformation
protected org.apache.synapse.ServerContextInformation getServerContextInformation() -
getLock
-
lockSynapseConfiguration
protected void lockSynapseConfiguration() -
unlockSynapseConfiguration
protected void unlockSynapseConfiguration()
-