|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.registry.AbstractRegistry
org.apache.synapse.registry.url.SimpleURLRegistry
public class SimpleURLRegistry
A Simple HTTP GET based registry which will work with a Web Server / WebDAV
This saves the root server URL, and appends the a given key to construct the full URL to locate resources
| Field Summary |
|---|
| Fields inherited from class org.apache.synapse.registry.AbstractRegistry |
|---|
properties |
| Constructor Summary | |
|---|---|
SimpleURLRegistry()
|
|
| Method Summary | |
|---|---|
void |
delete(String path)
Deletes a resource in the given path |
RegistryEntry[] |
getChildren(RegistryEntry entry)
Returns the child elements of a given registry entry |
RegistryEntry[] |
getDescendants(RegistryEntry entry)
Returns all descendant entries of the given registry entry |
RegistryEntry |
getRegistryEntry(String key)
Get the registry entry for the given key |
void |
init(Properties properties)
Initializes the registry with given properties |
OMNode |
lookup(String key)
Perform an actual lookup for for an XML resource as an OMNode for the given key |
void |
newResource(String path,
boolean isDirectory)
Creates a new resource in the given path |
void |
updateRegistryEntry(RegistryEntry entry)
Updates the registry enrty (metadata about a resource) |
void |
updateResource(String path,
Object value)
Updates the value of a resource |
| Methods inherited from class org.apache.synapse.registry.AbstractRegistry |
|---|
getConfigurationProperties, getProviderClass, getResource, getResourceProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.synapse.registry.Registry |
|---|
getConfigurationProperties, getProviderClass, getResource, getResourceProperties |
| Constructor Detail |
|---|
public SimpleURLRegistry()
| Method Detail |
|---|
public OMNode lookup(String key)
Registry
lookup in interface Registrykey - the key for the registry lookup
public RegistryEntry getRegistryEntry(String key)
Registry
getRegistryEntry in interface Registrykey - the registry key
public void init(Properties properties)
Registry
init in interface Registryinit in class AbstractRegistryproperties - The configuration propertiespublic void delete(String path)
Registry
delete in interface Registrypath - The path the of resource
public void newResource(String path,
boolean isDirectory)
Registry
newResource in interface Registrypath - The new resource pathisDirectory - Whether resource is a collection or not
public void updateResource(String path,
Object value)
Registry
updateResource in interface Registrypath - The resource to be updatedvalue - The value to be setpublic void updateRegistryEntry(RegistryEntry entry)
Registry
updateRegistryEntry in interface Registryentry - The registry entrypublic RegistryEntry[] getChildren(RegistryEntry entry)
Registry
getChildren in interface Registryentry - - parent registry entry
public RegistryEntry[] getDescendants(RegistryEntry entry)
Registry
getDescendants in interface Registryentry - - parent registry entry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||