Class AbstractRegistryStore
java.lang.Object
org.wso2.carbon.mediation.initializer.persistence.registry.AbstractRegistryStore
- Direct Known Subclasses:
APIRegistryStore,EndpointRegistryStore,EventSourceRegistryStore,ExecutorRegistryStore,ImportRegistryStore,LocalEntryRegistryStore,MessageProcessorRegistryStore,MessageStoreRegistryStore,ProxyServiceRegistryStore,SequenceRegistryStore,StartupRegistryStore,SynapseRegistriesRegistryStore,TemplateRegistryStore
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected org.apache.commons.logging.Logprotected org.wso2.carbon.registry.core.session.UserRegistry -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractRegistryStore(org.wso2.carbon.registry.core.session.UserRegistry registry, String configName) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateCollection(String path) abstract voiddeleteElement(String name) protected Collection<org.apache.axiom.om.OMElement> getChildElementsInPath(String path) protected abstract Stringprotected Stringabstract org.apache.axiom.om.OMElementgetElement(String name) abstract Collection<org.apache.axiom.om.OMElement> protected org.apache.axiom.om.OMElementgetResourceAsElement(String resourcePath) protected voidhandleException(String message) protected voidhandleException(String message, Exception e) abstract voidpersistElement(String name, org.apache.axiom.om.OMElement element, String fileName) protected voidpersistElement(org.apache.axiom.om.OMElement element, String resourcePath, String fileName)
-
Field Details
-
log
protected org.apache.commons.logging.Log log -
registry
protected org.wso2.carbon.registry.core.session.UserRegistry registry -
configName
-
-
Constructor Details
-
AbstractRegistryStore
protected AbstractRegistryStore(org.wso2.carbon.registry.core.session.UserRegistry registry, String configName)
-
-
Method Details
-
getElements
-
getElement
-
persistElement
-
deleteElement
-
createCollection
-
persistElement
protected void persistElement(org.apache.axiom.om.OMElement element, String resourcePath, String fileName) throws org.wso2.carbon.registry.core.exceptions.RegistryException - Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
-
handleException
-
handleException
-
getChildElementsInPath
protected Collection<org.apache.axiom.om.OMElement> getChildElementsInPath(String path) throws org.wso2.carbon.registry.core.exceptions.RegistryException - Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
-
getResourceAsElement
protected org.apache.axiom.om.OMElement getResourceAsElement(String resourcePath) throws org.wso2.carbon.registry.core.exceptions.RegistryException - Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
-
getConfigurationRoot
-
getConfigurationPath
-