|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Repository
Method Summary | |
---|---|
void |
add(String name,
Object object)
Add an object to the repository. |
boolean |
contains(String name)
Does this repository contain a object with the specified name. |
Object |
get(String name)
Gets the object or recipe with the specified name from the repository. |
Method Detail |
---|
boolean contains(String name)
name
- the unique name of the object instance
Object get(String name)
name
- the unique name of the object instance
void add(String name, 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 |