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 Details

  • Method Details

    • onInit

      public void onInit() throws javax.servlet.ServletException
      Extends SproutContextLoaderPlugIn's initialization callback to add Struts registration of Sprouts.
      Overrides:
      onInit in class SproutContextLoaderPlugIn
      Throws:
      javax.servlet.ServletException