net.sourceforge.stripes.integration.spring
Class SpringAwareActionResolver
java.lang.Object
net.sourceforge.stripes.controller.AnnotatedClassActionResolver
net.sourceforge.stripes.controller.NameBasedActionResolver
net.sourceforge.stripes.integration.spring.SpringAwareActionResolver
- All Implemented Interfaces:
- ConfigurableComponent, ActionResolver
Deprecated. Use SpringInterceptor instead.
@Deprecated
public class SpringAwareActionResolver
- extends NameBasedActionResolver
An extension of NameBasedActionResolver that
uses a Spring context to inject Spring beans into newly created ActionBeans before handing
them back for processing.
This can be configured through web.xml by adding the following init parameters to the
Stripes filter:
<init-param>
<param-name>ActionResolver.Class</param-name>
<param-value>net.sourceforge.stripes.integration.spring.SpringAwareActionResolver</param-value>
</init-param>
- Author:
- Tim Fennell
- See Also:
SpringBean
| Methods inherited from class net.sourceforge.stripes.controller.AnnotatedClassActionResolver |
addActionBean, findClasses, getActionBean, getActionBeanType, getConfiguration, getDefaultHandler, getEventName, getEventNameFromEventNameParam, getEventNameFromPath, getEventNameFromRequestParams, getHandler, getPackageFilters, getRequestedPath, getUrlBindingFromPath, getUrlFilters, processMethods |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringAwareActionResolver
public SpringAwareActionResolver()
- Deprecated.
makeNewActionBean
protected ActionBean makeNewActionBean(Class<? extends ActionBean> type,
ActionBeanContext context)
throws Exception
- Deprecated.
- Overridden method to inject Spring beans into ActionBeans after instantiation.
- Overrides:
makeNewActionBean in class AnnotatedClassActionResolver
- Parameters:
type - the Class of ActionBean being createdcontext - the current ActionBeanContext
- Returns:
- the newly instantiated ActionBean
- Throws:
Exception - if configured SpringBeans cannot be located, or are ambiguous
© Copyright 2005-2006, Stripes Development Team.