|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.petite.scope.DefaultScope
public final class DefaultScope
Default Petite container scope. It serves only as a marker for marking the default container scope.
| Method Summary | |
|---|---|
java.lang.Object |
lookup(java.lang.String name)
Lookups for bean name. |
void |
register(java.lang.String name,
java.lang.Object bean)
Registers the bean within the current scope. |
void |
remove(java.lang.String name)
Removes the bean from the scope entirely. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Object lookup(java.lang.String name)
Scoperegistration,
therefore it should returns null if object is not
yet registered.
lookup in interface Scope
public void register(java.lang.String name,
java.lang.Object bean)
Scope
register in interface Scopepublic void remove(java.lang.String name)
Scope
remove in interface Scope
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||