|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xbean.recipe.DefaultRepository
public class DefaultRepository
| Constructor Summary | |
|---|---|
DefaultRepository()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.String name,
java.lang.Object instance)
Add an object instance to this 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 this repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRepository()
| Method Detail |
|---|
public boolean contains(java.lang.String name)
contains in interface Repositoryname - the unique name of the object instance
public java.lang.Object get(java.lang.String name)
get in interface Repositoryname - the unique name of the object instance
public void add(java.lang.String name,
java.lang.Object instance)
add in interface Repositoryname - the unique name of the instanceinstance - the 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 | |||||||||