public abstract class AbstractRegistryStore extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
configName |
protected org.apache.commons.logging.Log |
log |
protected org.wso2.carbon.registry.core.session.UserRegistry |
registry |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRegistryStore(org.wso2.carbon.registry.core.session.UserRegistry registry,
String configName) |
Modifier and Type | Method and Description |
---|---|
protected void |
createCollection(String path) |
abstract void |
deleteElement(String name) |
protected Collection<org.apache.axiom.om.OMElement> |
getChildElementsInPath(String path) |
protected abstract String |
getConfigurationPath() |
protected String |
getConfigurationRoot() |
abstract org.apache.axiom.om.OMElement |
getElement(String name) |
abstract Collection<org.apache.axiom.om.OMElement> |
getElements() |
protected org.apache.axiom.om.OMElement |
getResourceAsElement(String resourcePath) |
protected void |
handleException(String message) |
protected void |
handleException(String message,
Exception e) |
protected void |
persistElement(org.apache.axiom.om.OMElement element,
String resourcePath,
String fileName) |
abstract void |
persistElement(String name,
org.apache.axiom.om.OMElement element,
String fileName) |
protected org.apache.commons.logging.Log log
protected org.wso2.carbon.registry.core.session.UserRegistry registry
protected String configName
protected AbstractRegistryStore(org.wso2.carbon.registry.core.session.UserRegistry registry, String configName)
public abstract Collection<org.apache.axiom.om.OMElement> getElements()
public abstract org.apache.axiom.om.OMElement getElement(String name)
public abstract void persistElement(String name, org.apache.axiom.om.OMElement element, String fileName)
public abstract void deleteElement(String name)
protected void createCollection(String path)
protected void persistElement(org.apache.axiom.om.OMElement element, String resourcePath, String fileName) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
protected void handleException(String message)
protected Collection<org.apache.axiom.om.OMElement> getChildElementsInPath(String path) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
protected org.apache.axiom.om.OMElement getResourceAsElement(String resourcePath) throws org.wso2.carbon.registry.core.exceptions.RegistryException
org.wso2.carbon.registry.core.exceptions.RegistryException
protected String getConfigurationRoot()
protected abstract String getConfigurationPath()
Copyright © 2018 WSO2. All rights reserved.