@Deprecated public class ModulePersistenceManager extends AbstractPersistenceManager
axisConfig, configRegistry, fpm, omFactory, pf, WRITE_LOCK
Constructor and Description |
---|
ModulePersistenceManager(org.apache.axis2.engine.AxisConfiguration axisConfig)
Deprecated.
|
ModulePersistenceManager(org.apache.axis2.engine.AxisConfiguration axisConfig,
PersistenceFactory pf)
Deprecated.
Constructor gets the axis config and calls the super constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
getModule(String moduleName,
String moduleVersion)
Deprecated.
Returns the registry Resource for the specified Axis2 Module
|
void |
globallyDisengageModule(org.apache.axis2.description.AxisModule module)
Deprecated.
Update the module resource with a 'globlally engaged' property set to false
|
void |
globallyEngageModule(org.apache.axis2.description.AxisModule module)
Deprecated.
Update the module resource with a 'globally engaged' property set to true
|
void |
handleExistingModuleInit(org.apache.axiom.om.OMElement moduleResource,
org.apache.axis2.description.AxisModule axisModule)
Deprecated.
Handle initialization of an already existing module in regsitry.
|
void |
handleNewModuleAddition(org.apache.axis2.description.AxisModule axisModule,
String moduleName,
String moduleVersion)
Deprecated.
Handle initialization of a new module in regsitry.
|
void |
persistModulePolicy(String moduleName,
String moduleVersion,
org.apache.neethi.Policy policy,
String policyUuid,
String policyType,
String modulePath)
Deprecated.
|
void |
removeModule(org.apache.axis2.description.AxisModule module)
Deprecated.
Delete the module from the registry
|
void |
removeModuleParameter(org.apache.axis2.description.AxisModule module,
org.apache.axis2.description.Parameter parameter)
Deprecated.
Remove the specified parameter from the given module
|
void |
updateModuleParameter(org.apache.axis2.description.AxisModule module,
org.apache.axis2.description.Parameter parameter)
Deprecated.
Persist the given module parameter.
|
convertStreamToString, getCurrentFPM, getExistingAxisModule, getModuleFilePM, getProperty, getPropertyValues, getServiceGroupFilePM, handleException, handleException, handleExceptionWithRollback, handleModuleForAxisDescription, isGloballyEngaged, loadDocumentation, loadParameters, loadPolicies, persistPolicyToRegistry, removeParameter, removeResource, updateParameter, writeAxisDescription, writeParameters
public ModulePersistenceManager(org.apache.axis2.engine.AxisConfiguration axisConfig, PersistenceFactory pf) throws org.apache.axis2.AxisFault
axisConfig
- - AxisConfigurationpf
- org.apache.axis2.AxisFault
- - if the config registry is not foundpublic ModulePersistenceManager(org.apache.axis2.engine.AxisConfiguration axisConfig) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public org.apache.axiom.om.OMElement getModule(String moduleName, String moduleVersion) throws Exception
moduleName
- - Module namemoduleVersion
- - Module versionException
- - on registry transaction errorpublic void globallyEngageModule(org.apache.axis2.description.AxisModule module) throws Exception
module
- - AxisModule instanceException
- - on errorpublic void globallyDisengageModule(org.apache.axis2.description.AxisModule module) throws Exception
module
- - AxisModule instanceException
- - on errorpublic void handleNewModuleAddition(org.apache.axis2.description.AxisModule axisModule, String moduleName, String moduleVersion) throws Exception
axisModule
- - AxisModule instance to be persistedmoduleName
- - module namemoduleVersion
- - module versionException
- - on errorpublic void handleExistingModuleInit(org.apache.axiom.om.OMElement moduleResource, org.apache.axis2.description.AxisModule axisModule) throws Exception
moduleResource
- - resource for the moduleaxisModule
- - AxisModule instanceException
- - on registry transaction errorpublic void removeModuleParameter(org.apache.axis2.description.AxisModule module, org.apache.axis2.description.Parameter parameter) throws Exception
module
- - AxisModule instanceparameter
- - parameter to removeException
- - on errorpublic void updateModuleParameter(org.apache.axis2.description.AxisModule module, org.apache.axis2.description.Parameter parameter) throws Exception
module
- - AxisModule instanceparameter
- - parameter to persistException
- - on registry call errorspublic void removeModule(org.apache.axis2.description.AxisModule module) throws Exception
module
- - AxisModule instanceException
- - on errorCopyright © 2016 WSO2 Inc. All rights reserved.