public class SimpleURLRegistry extends AbstractRegistry implements Registry
properties| Constructor and Description |
|---|
SimpleURLRegistry() |
| Modifier and Type | Method and Description |
|---|---|
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
|
org.apache.axiom.om.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
|
getConfigurationProperties, getProviderClass, getResource, getResourcePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationProperties, getProviderClass, getResource, getResourcePropertiespublic org.apache.axiom.om.OMNode lookup(String key)
Registrypublic RegistryEntry getRegistryEntry(String key)
RegistrygetRegistryEntry in interface Registrykey - the registry keypublic void init(Properties properties)
Registryinit in interface Registryinit in class AbstractRegistryproperties - The configuration propertiespublic void delete(String path)
Registrypublic void newResource(String path, boolean isDirectory)
RegistrynewResource in interface Registrypath - The new resource pathisDirectory - Whether resource is a collection or notpublic void updateResource(String path, Object value)
RegistryupdateResource in interface Registrypath - The resource to be updatedvalue - The value to be setpublic void updateRegistryEntry(RegistryEntry entry)
RegistryupdateRegistryEntry in interface Registryentry - The registry entrypublic RegistryEntry[] getChildren(RegistryEntry entry)
RegistrygetChildren in interface Registryentry - - parent registry entrypublic RegistryEntry[] getDescendants(RegistryEntry entry)
RegistrygetDescendants in interface Registryentry - - parent registry entryCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.