|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Scope.Strategy
Pluggable scoping strategy. Enables users to provide custom
implementations of request, session, and wizard scopes. Implement and
pass to Container.setScopeStrategy(com.google.inject.Scope.Strategy)
.
Method Summary | ||
---|---|---|
|
findInRequest(Key<T> key,
java.util.concurrent.Callable<? extends T> factory)
Finds an object for the given type and name in the request scope. |
|
|
findInSession(Key<T> key,
java.util.concurrent.Callable<? extends T> factory)
Finds an object for the given type and name in the session scope. |
|
|
findInWizard(Key<T> key,
java.util.concurrent.Callable<? extends T> factory)
Finds an object for the given type and name in the wizard scope. |
Method Detail |
---|
<T> T findInRequest(Key<T> key, java.util.concurrent.Callable<? extends T> factory) throws java.lang.Exception
java.lang.Exception
<T> T findInSession(Key<T> key, java.util.concurrent.Callable<? extends T> factory) throws java.lang.Exception
java.lang.Exception
<T> T findInWizard(Key<T> key, java.util.concurrent.Callable<? extends T> factory) throws java.lang.Exception
java.lang.Exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |