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
T - generic typetype - type of objectname - name of objectfactory - factoryException - in case of any error<T> T findInSession(Class<T> type, String name, Callable<? extends T> factory) throws Exception
T - generic typetype - type of objectname - name of objectfactory - factoryException - in case of any error<T> T findInWizard(Class<T> type, String name, Callable<? extends T> factory) throws Exception
T - generic typetype - type of objectname - name of objectfactory - factoryException - in case of any errorCopyright © 2000–2025 Apache Software Foundation. All rights reserved.