org.springframework.web.struts
Class ActionServletAwareProcessor

public class ActionServletAwareProcessor
implements DestructionAwareBeanPostProcessor
BeanPostProcessor implementation that passes the ActionServlet to beans that extend the Struts Action class. Invokes Action.setServlet with null on bean destruction, providing the same lifecycle handling as Struts' ActionServlet.

ContextLoaderPlugIn automatically registers this processor with the underlying bean factory of its WebApplicationContext. Applications do not need to use this class directly.

Since1.0.1
VersionNot specified.
AuthorJuergen Hoeller
Wiki javadoc Use textile entry format.
Add your comments here.
Constructor Summary
ActionServletAwareProcessor( ActionServlet actionServlet )
Create a new ActionServletAwareProcessor for the given servlet.
Method Summary
Object postProcessAfterInitialization( Object bean, String beanName )
No description provided.
void postProcessBeforeDestruction( Object bean, String beanName )
No description provided.
Object postProcessBeforeInitialization( Object bean, String beanName )
No description provided.
ActionServletAwareProcessor
public ActionServletAwareProcessor ( ActionServlet actionServlet )
Create a new ActionServletAwareProcessor for the given servlet.
Parameters
TypeNameDescription
ActionServlet actionServlet No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
postProcessAfterInitialization
public Object postProcessAfterInitialization ( Object bean, String beanName )
No description provided.
Implements method in BeanPostProcessor
Parameters
TypeNameDescription
Object bean No description provided.
String beanName No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
postProcessBeforeDestruction
public void postProcessBeforeDestruction ( Object bean, String beanName )
No description provided.
Implements method in DestructionAwareBeanPostProcessor
Parameters
TypeNameDescription
Object bean No description provided.
String beanName No description provided.
Returns void No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.
postProcessBeforeInitialization
public Object postProcessBeforeInitialization ( Object bean, String beanName )
No description provided.
Implements method in BeanPostProcessor
Parameters
TypeNameDescription
Object bean No description provided.
String beanName No description provided.
Wiki javadoc Use textile entry format.
Add your comments here.