|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Operations
The operations allowed by the registry. This is an internal API to not be used by clients since they do not care about the resources but only wnat to get endpoints...
| Method Summary | |
|---|---|
boolean |
delete(java.lang.String path,
boolean propagate)
Delete the element from the registry. |
Resource |
get(java.lang.String path,
boolean remote)
Get the element from its path only if the path refers to an element. |
java.util.List<Resource> |
getAll(java.lang.String path,
boolean remote)
Get all the resources in the given path only if the given path is a directory. |
boolean |
put(java.lang.String path,
Resource resource,
boolean propagate)
Put a resource in the registry. |
java.util.List<Resource> |
query(Query query,
boolean remote)
Get a list of resources under the given path which assert that the endpoint properties match the given ones. |
| Method Detail |
|---|
boolean put(java.lang.String path,
Resource resource,
boolean propagate)
throws RegistryException
path - The path to store the resource into. Contains the parent
directory and the resource identifier (ie : in
/path/to/resource/r1 r1 is the resource identifier) if the
resource already exists override, create a new one if not.resource - The resource to put
RegistryException
Resource get(java.lang.String path,
boolean remote)
throws RegistryException
#getAll(String)
path -
an - exception there is no resource at the given path or if a
problem occurs.
RegistryException
java.util.List<Resource> getAll(java.lang.String path,
boolean remote)
throws RegistryException
#get(String). Be carefull on
the implementation side when trying to get all the resources of all the
registries. The best way is that the getAll implementation just returns
the resources of the local registry ie its vision of the resources of the
network at the current time.
path -
RegistryException - if the path is not a directory path...
boolean delete(java.lang.String path,
boolean propagate)
throws RegistryException
key -
RegistryException
java.util.List<Resource> query(Query query,
boolean remote)
throws RegistryException
query -
RegistryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||