Package org.wso2.carbon.sequences
Class SequenceAdminUtil
- java.lang.Object
-
- org.wso2.carbon.sequences.SequenceAdminUtil
-
public class SequenceAdminUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description SequenceAdminUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LockgetLock()static org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManagergetMediationPersistenceManager()Helper method to get the persistence mangerstatic org.apache.synapse.ServerConfigurationInformationgetServerConfigurationInformation()static org.apache.synapse.ServerContextInformationgetServerContextInformation()static org.apache.synapse.config.SynapseConfigurationgetSynapseConfigFromConfigCtx()static org.apache.synapse.config.SynapseConfigurationgetSynapseConfiguration()static org.apache.synapse.core.SynapseEnvironmentgetSynapseEnvironment()Helper method to retrieve the Synapse environment from the relevant axis configurationstatic org.apache.synapse.core.SynapseEnvironmentgetSynapseEnvironment(org.apache.axis2.engine.AxisConfiguration axisCfg)static org.apache.synapse.core.SynapseEnvironmentgetSynapseEnvironmentFromConfigCtx()
-
-
-
Method Detail
-
getSynapseConfiguration
public static org.apache.synapse.config.SynapseConfiguration getSynapseConfiguration() throws org.wso2.carbon.sequences.common.SequenceEditorException- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
getSynapseConfigFromConfigCtx
public static org.apache.synapse.config.SynapseConfiguration getSynapseConfigFromConfigCtx() throws org.wso2.carbon.sequences.common.SequenceEditorException- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
getSynapseEnvironment
public static org.apache.synapse.core.SynapseEnvironment getSynapseEnvironment() throws org.wso2.carbon.sequences.common.SequenceEditorExceptionHelper method to retrieve the Synapse environment from the relevant axis configuration- Returns:
- extracted SynapseEnvironment from the relevant AxisConfiguration
- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
getSynapseEnvironmentFromConfigCtx
public static org.apache.synapse.core.SynapseEnvironment getSynapseEnvironmentFromConfigCtx() throws org.wso2.carbon.sequences.common.SequenceEditorException- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
getSynapseEnvironment
public static org.apache.synapse.core.SynapseEnvironment getSynapseEnvironment(org.apache.axis2.engine.AxisConfiguration axisCfg)
-
getMediationPersistenceManager
public static org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManager getMediationPersistenceManager() throws org.wso2.carbon.sequences.common.SequenceEditorExceptionHelper method to get the persistence manger- Returns:
- persistence manager for this configuration context
- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
getServerConfigurationInformation
public static org.apache.synapse.ServerConfigurationInformation getServerConfigurationInformation() throws org.wso2.carbon.sequences.common.SequenceEditorException- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
getServerContextInformation
public static org.apache.synapse.ServerContextInformation getServerContextInformation() throws org.wso2.carbon.sequences.common.SequenceEditorException- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
getLock
public static Lock getLock() throws org.wso2.carbon.sequences.common.SequenceEditorException
- Throws:
org.wso2.carbon.sequences.common.SequenceEditorException
-
-