@Deprecated public class ModuleFilePersistenceManager extends AbstractFilePersistenceManager
axisConfig, omFactory
Constructor and Description |
---|
ModuleFilePersistenceManager(org.apache.axis2.engine.AxisConfiguration axisConfig)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
beginTransaction(String moduleName)
Deprecated.
Reads the relevant service group file from FS and loads the OM to memory.
|
boolean |
delete(String moduleId,
String xpathStr)
Deprecated.
|
org.apache.axiom.om.OMElement |
get(String moduleId)
Deprecated.
Returns the root module element
This simply calls #get(String serviceGroupId, String xpathStr) with xpathStr = "/"
|
commitTransaction, deleteAll, elementExists, fileExists, get, getAll, getAttribute, getFilePathFromResourceId, handleException, handleException, handleExceptionWithRollback, init, isMetaFileModification, isTransactionStarted, isUserModification, put, put, rollbackTransaction, setMetaFileModification, setUserModification
public ModuleFilePersistenceManager(org.apache.axis2.engine.AxisConfiguration axisConfig) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public void beginTransaction(String moduleName) throws PersistenceException
beginTransaction
in class AbstractFilePersistenceManager
moduleName
- module name ex. rampartPersistenceException
public org.apache.axiom.om.OMElement get(String moduleId) throws PersistenceDataNotFoundException
get
in class AbstractFilePersistenceManager
moduleId
- The module namePersistenceDataNotFoundException
AbstractFilePersistenceManager.get(String, String)
public boolean delete(String moduleId, String xpathStr)
delete
in class AbstractFilePersistenceManager
moduleId
- module name or service group name as applicablexpathStr
- xpath to the element which needs to be deletedCopyright © 2016 WSO2 Inc. All rights reserved.