|
||||||||||
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.opensymphony.xwork2.inject.Scope.Strategy)
.
Method Summary | ||
---|---|---|
|
findInRequest(Class<T> type,
String name,
Callable<? extends T> factory)
Finds an object for the given type and name in the request scope. |
|
|
findInSession(Class<T> type,
String name,
Callable<? extends T> factory)
Finds an object for the given type and name in the session scope. |
|
|
findInWizard(Class<T> type,
String name,
Callable<? extends T> factory)
Finds an object for the given type and name in the wizard scope. |
Method Detail |
---|
<T> T findInRequest(Class<T> type, String name, Callable<? extends T> factory) throws Exception
Exception
<T> T findInSession(Class<T> type, String name, Callable<? extends T> factory) throws Exception
Exception
<T> T findInWizard(Class<T> type, String name, Callable<? extends T> factory) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |