|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Repository
Method Summary | |
---|---|
void |
add(java.lang.String name,
java.lang.Object object)
Add an object to the repository. |
boolean |
contains(java.lang.String name)
Does this repository contain a object with the specified name. |
java.lang.Object |
get(java.lang.String name)
Gets the object or recipe with the specified name from the repository. |
Method Detail |
---|
boolean contains(java.lang.String name)
name
- the unique name of the object instance
java.lang.Object get(java.lang.String name)
name
- the unique name of the object instance
void add(java.lang.String name, java.lang.Object object)
name
- the unique name of the object instanceobject
- the object instance
ConstructionException
- if another object instance is already registered with the name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |