public class EILightweightRegistry
extends org.apache.synapse.registry.AbstractRegistry
Modifier and Type | Field and Description |
---|---|
static int |
FILE |
static int |
HTTP |
static int |
HTTPS |
Constructor and Description |
---|
EILightweightRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String path) |
org.apache.synapse.registry.RegistryEntry[] |
getChildren(org.apache.synapse.registry.RegistryEntry entry) |
org.apache.synapse.registry.RegistryEntry[] |
getDescendants(org.apache.synapse.registry.RegistryEntry entry) |
org.apache.synapse.registry.RegistryEntry |
getRegistryEntry(String key) |
void |
init(Properties properties) |
org.apache.axiom.om.OMNode |
lookup(String key) |
org.apache.axiom.om.OMNode |
lookupFormat(String key) |
void |
newNonEmptyResource(String path,
boolean isDirectory,
String contentType,
String content,
String propertyName) |
void |
newResource(String path,
boolean isDirectory) |
void |
updateRegistryEntry(org.apache.synapse.registry.RegistryEntry entry) |
void |
updateResource(String path,
Object value)
Updates the registry resource pointed by the given key.
|
public static final int FILE
public static final int HTTP
public static final int HTTPS
public void init(Properties properties)
init
in interface org.apache.synapse.registry.Registry
init
in class org.apache.synapse.registry.AbstractRegistry
public org.apache.axiom.om.OMNode lookup(String key)
public org.apache.synapse.registry.RegistryEntry getRegistryEntry(String key)
public org.apache.axiom.om.OMNode lookupFormat(String key)
public org.apache.synapse.registry.RegistryEntry[] getChildren(org.apache.synapse.registry.RegistryEntry entry)
public org.apache.synapse.registry.RegistryEntry[] getDescendants(org.apache.synapse.registry.RegistryEntry entry)
public void delete(String path)
public void newResource(String path, boolean isDirectory)
public void newNonEmptyResource(String path, boolean isDirectory, String contentType, String content, String propertyName)
public void updateResource(String path, Object value)
path
- Key of the resource to be updatedvalue
- New value of the resourcepublic void updateRegistryEntry(org.apache.synapse.registry.RegistryEntry entry)
Copyright © 2018 WSO2. All rights reserved.