public static interface Scope.Strategy
Container.setScopeStrategy(com.opensymphony.xwork2.inject.Scope.Strategy)
.Modifier and Type | Method and Description |
---|---|
<T> T |
findInRequest(Class<T> type,
String name,
Callable<? extends T> factory)
Finds an object for the given type and name in the request scope.
|
<T> T |
findInSession(Class<T> type,
String name,
Callable<? extends T> factory)
Finds an object for the given type and name in the session scope.
|
<T> T |
findInWizard(Class<T> type,
String name,
Callable<? extends T> factory)
Finds an object for the given type and name in the wizard scope.
|
<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
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.