public interface Registry
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
|
Properties |
getConfigurationProperties()
Return the list of configuration properties set on this instance
|
RegistryEntry[] |
getDescendants(RegistryEntry entry)
Returns all descendant entries of the given registry entry
|
String |
getProviderClass()
Return the name of the implementation class
|
RegistryEntry |
getRegistryEntry(String key)
Get the registry entry for the given key
|
Object |
getResource(Entry entry,
Properties properties)
This is the publicly used interface to the registry.
|
Properties |
getResourceProperties(String entryKey)
Get the resource properties of a given resource
|
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
|
void init(Properties properties)
properties
- The configuration propertiesorg.apache.axiom.om.OMNode lookup(String key)
key
- the key for the registry lookupObject getResource(Entry entry, Properties properties)
entry
- the registry Entryproperties
- AbstractRegistry
RegistryEntry getRegistryEntry(String key)
key
- the registry keyRegistryEntry[] getChildren(RegistryEntry entry)
entry
- - parent registry entryRegistryEntry[] getDescendants(RegistryEntry entry)
entry
- - parent registry entryString getProviderClass()
Properties getConfigurationProperties()
void delete(String path)
path
- The path the of resourcevoid newResource(String path, boolean isDirectory)
path
- The new resource pathisDirectory
- Whether resource is a collection or notvoid updateResource(String path, Object value)
path
- The resource to be updatedvalue
- The value to be setvoid updateRegistryEntry(RegistryEntry entry)
entry
- The registry entryProperties getResourceProperties(String entryKey)
entryKey
- The registry entryCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.