[ http://issues.apache.org/jira/browse/SYNAPSE-43?page=all ]
Chathura Ekanayake updated SYNAPSE-43:
--------------------------------------
Attachment: registry_improvement.patch
Registry interface is changed to include below methods:
public RegistryEntry[] getChildren(RegistryEntry entry);
public RegistryEntry[] getDescendants(RegistryEntry entry);
SimpleURLRegistry is improved to support those methods.
Currently only "file" protocol is supported. That means registry root always
has to be a directory in the file system.
Above methods throw an exception for any other protocol type.
> Retrieving property keys from the registry
> ------------------------------------------
>
> Key: SYNAPSE-43
> URL: http://issues.apache.org/jira/browse/SYNAPSE-43
> Project: Synapse
> Issue Type: Improvement
> Components: Core
> Reporter: Chathura Ekanayake
> Attachments: registry_improvement.patch
>
>
> There should be a method to get the available property keys in the registry.
> This can be done in two levels.
> First, We can have a method in a Registry to return the children of any given
> registry entry.
> Secondly, there can be a method to return all descendants (leaf level keys)
> of a given registry entry.
> Registry interface has to be modified to include below two methods so that
> all registries will support them.
> public RegistryEntry[] getChildren(RegistryEntry entry);
> public RegistryEntry[] getDescendants(RegistryEntry entry);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]