Class SproutAutoLoaderPlugIn
java.lang.Object
com.echothree.view.client.web.struts.sprout.SproutContextLoaderPlugIn
com.echothree.view.client.web.struts.sprout.SproutAutoLoaderPlugIn
- All Implemented Interfaces:
org.apache.struts.action.PlugIn
Finds Sprouts present in the classpath and registers them with Struts, using cues from annotations present to set specific properties.
This needs to be configured as a plug-in in
struts-config.xml
.
TODO create GlobalForward annotation and create global forwards based on that
- Author:
- Seth Fitzsimmons
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onInit()
Extends SproutContextLoaderPlugIn's initialization callback to add Struts registration of Sprouts.Methods inherited from class com.echothree.view.client.web.struts.sprout.SproutContextLoaderPlugIn
destroy, getActionServlet, getModuleConfig, init, onDestroy
-
Constructor Details
-
SproutAutoLoaderPlugIn
public SproutAutoLoaderPlugIn()
-
-
Method Details
-
onInit
Extends SproutContextLoaderPlugIn's initialization callback to add Struts registration of Sprouts.- Overrides:
onInit
in classSproutContextLoaderPlugIn
- Throws:
javax.servlet.ServletException
-