|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Scope
Petite container bean scope. Scopes actually represents wrapper over none, one or many internal bean pools. Which pool is used depends on scopes behaviour and external data.
Scopes are instantiated once on their first usage and stored within one container.
Method Summary | |
---|---|
java.lang.Object |
lookup(java.lang.String name)
Lookups for bean name. |
void |
register(java.lang.String name,
java.lang.Object object)
Registers the bean within the current scope. |
void |
remove(java.lang.String name)
Removes the bean from the scope entirely. |
void |
replaceIn(java.lang.String name,
ScopeReplacer scopeReplacer)
Replaces the bean in current scope. |
Method Detail |
---|
java.lang.Object lookup(java.lang.String name)
void register(java.lang.String name, java.lang.Object object)
void remove(java.lang.String name)
void replaceIn(java.lang.String name, ScopeReplacer scopeReplacer)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |