Package org.wso2.carbon.mediation.initializer.configurations

# Class ConfigurationUtils

java.lang.Object
org.wso2.carbon.mediation.initializer.configurations.ConfigurationUtils

public class ConfigurationUtils extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ConfigurationUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `destroyConfiguration(org.apache.synapse.config.SynapseConfiguration oldConfig, org.apache.axis2.engine.AxisConfiguration axisCfg, org.apache.synapse.core.SynapseEnvironment synapseEnvironment)`
  `static String`
  `getParameter(String name)`
  `static void`
  `initPersistence(org.apache.synapse.config.SynapseConfiguration synCfgConfiguration, String configurationLocation, org.apache.axis2.engine.AxisConfiguration axisConfiguration, String name)`
  Initialize the persistence for a Synapse Configuration
  `static boolean`
  `isInitialStartup(org.wso2.carbon.registry.core.session.UserRegistry registry)`
  `static void`
  `saveToFileSystem(org.apache.synapse.config.SynapseConfiguration synapseConfig)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ConfigurationUtils

    public ConfigurationUtils()

- ## Method Details

  - ### getParameter

    public static String getParameter(String name)

  - ### isInitialStartup

    public static boolean isInitialStartup(org.wso2.carbon.registry.core.session.UserRegistry registry)

  - ### destroyConfiguration

    public static void destroyConfiguration(org.apache.synapse.config.SynapseConfiguration oldConfig, org.apache.axis2.engine.AxisConfiguration axisCfg, org.apache.synapse.core.SynapseEnvironment synapseEnvironment) throws Exception
    Throws:
      `Exception`

  - ### initPersistence

    public static void initPersistence(org.apache.synapse.config.SynapseConfiguration synCfgConfiguration, String configurationLocation, org.apache.axis2.engine.AxisConfiguration axisConfiguration, String name) throws ConfigurationInitilizerException
    Initialize the persistence for a Synapse Configuration
    Parameters:
      `synCfgConfiguration` - the synapse configuration to which to initialize the persistence
      `configurationLocation` - configuration place
      `axisConfiguration` - axisConfiguration to be used
      `name` - name of the configuration
    Throws:
      `ConfigurationInitilizerException` - if an error occurs

  - ### saveToFileSystem

    public static void saveToFileSystem(org.apache.synapse.config.SynapseConfiguration synapseConfig)