|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Registry
This interface models a "configuration registry", in which configuration is hierarchically kept.
All accesses to a registry, in the context of a given thread, must be done using a session that was acquired from that registry, according to the following programming model:
RegisSession session = registry.open();
try{
Node root = registry.getRoot();
...
}finally{
session.close();
}
| Method Summary | |
|---|---|
void |
close()
Closes this instance. |
Node |
getRoot()
|
RegisSession |
open()
Opens a session linked to this instance and returns it. |
| Method Detail |
|---|
Node getRoot()
Node of this instance.RegisSession open()
RegisSession.void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||