|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Registry
This is the interface to a Registry from Synapse.
| 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 |
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 |
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 |
| Method Detail |
|---|
void init(Properties properties)
properties - The configuration propertiesOMNode lookup(String key)
key - the key for the registry lookup
Object getResource(Entry entry,
Properties properties)
entry - the registry Entryproperties -
AbstractRegistryRegistryEntry getRegistryEntry(String key)
key - the registry key
RegistryEntry[] getChildren(RegistryEntry entry)
entry - - parent registry entry
RegistryEntry[] getDescendants(RegistryEntry entry)
entry - - parent registry entry
String getProviderClass()
Properties getConfigurationProperties()
void delete(String path)
path - The path the of resource
void newResource(String path,
boolean isDirectory)
path - The new resource pathisDirectory - Whether resource is a collection or not
void 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 entry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||