Class ConfigurationUpdater
java.lang.Object
org.wso2.carbon.mediation.configadmin.ConfigurationUpdater
Use an instance of this class to update the existing SynapseConfiguration of a server. This will
gracefully cleanup the existing configuration and apply the provided new configuration. In
case of an error, it will fallback to the old configuration. This class is not thread safe and
hence should not be used by multiple threads.
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationUpdater(org.apache.synapse.ServerContextInformation serverContextInformation, org.apache.axis2.context.ConfigurationContext configurationContext, org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManager persistenceManager, org.wso2.carbon.registry.core.session.UserRegistry configRegistry) -
Method Summary
-
Constructor Details
-
ConfigurationUpdater
public ConfigurationUpdater(org.apache.synapse.ServerContextInformation serverContextInformation, org.apache.axis2.context.ConfigurationContext configurationContext, org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManager persistenceManager, org.wso2.carbon.registry.core.session.UserRegistry configRegistry)
-
-
Method Details
-
update
public void update(org.apache.axiom.om.OMElement configElement) throws org.apache.axis2.AxisFault - Throws:
org.apache.axis2.AxisFault
-