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 Lock
getLock()
static org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManager
getMediationPersistenceManager()
Helper method to get the persistence mangerstatic org.apache.synapse.ServerConfigurationInformation
getServerConfigurationInformation()
static org.apache.synapse.ServerContextInformation
getServerContextInformation()
static org.apache.synapse.config.SynapseConfiguration
getSynapseConfigFromConfigCtx()
static org.apache.synapse.config.SynapseConfiguration
getSynapseConfiguration()
static org.apache.synapse.core.SynapseEnvironment
getSynapseEnvironment()
Helper method to retrieve the Synapse environment from the relevant axis configurationstatic org.apache.synapse.core.SynapseEnvironment
getSynapseEnvironment(org.apache.axis2.engine.AxisConfiguration axisCfg)
static org.apache.synapse.core.SynapseEnvironment
getSynapseEnvironmentFromConfigCtx()
-
-
-
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.SequenceEditorException
Helper 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.SequenceEditorException
Helper 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
-
-