|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CoreRegistry
Method Summary | |
---|---|
void |
delete(java.lang.String path)
Deletes the resource in the given path. |
Resource |
get(java.lang.String path)
Returns the resource in the given path. |
java.lang.String |
put(java.lang.String suggestedPath,
Resource resource)
Adds or updates resources in the registry. |
boolean |
resourceExists(java.lang.String path)
Check whether a resource exist in the given path |
Method Detail |
---|
Resource get(java.lang.String path) throws RegistryException
path
- Path of the resource. e.g. /project1/server/deployment.xml
RegistryException
- is thrown if the resource is not in the registryboolean resourceExists(java.lang.String path) throws RegistryException
path
- Path of the resource to be checked
RegistryException
- if an error occursjava.lang.String put(java.lang.String suggestedPath, Resource resource) throws RegistryException
suggestedPath
- the path which we'd like to use for the new resource.resource
- Resource instance for the new resource
RegistryException
void delete(java.lang.String path) throws RegistryException
path
- Path of the resource to be deleted.
RegistryException
- is thrown depending on the implementation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |