|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParamRepository
Parameter Repository Definition.
A ParamRepository implementation allows persistence, retrieval and removal of parameter values. Note that it is assumed that implementations are Thread Safe.
Method Summary | |
---|---|
void |
add(java.lang.String name,
java.lang.String value)
Store a parameter value in the repository. |
java.lang.String |
get(java.lang.String name)
Get the value associated with the named parameter. |
void |
remove(java.lang.String name)
Remove a parameter, or a hierarchy of parameters. |
Method Detail |
---|
void add(java.lang.String name, java.lang.String value) throws ParamRepositoryException
name
- The parameter name. Must not be null
.value
- The parameter value. Must not be null
.
ParamRepositoryException
- Failed to store the specified parameter value.java.lang.String get(java.lang.String name) throws ParamRepositoryException
name
- The parameter name. Must not be null
.
ParamRepositoryException
- The parameter exists, but an error has occured
while readingit.void remove(java.lang.String name) throws ParamRepositoryException
name
- The parameter name. Must not be null
.
ParamRepositoryException
- Failed to remove the parameter, or hierarchy of parameters,
from the repository..
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |