org.apache.beehive.netui.pageflow
Class StrutsModule

Object
  extended by StrutsModule
All Implemented Interfaces:
ActionResolver

public class StrutsModule
extends Object
implements ActionResolver

An ActionResolver that submits actions to a Struts module.


Constructor Summary
StrutsModule(String modulePath)
          Construct on the given Struts module path.
 
Method Summary
 String getModulePath()
          Get the Struts module path associated with this ActionResolver.
 String getURI()
          Get the URI for this Struts module.
 boolean isPageFlow()
          Tell whether this is a PageFlowController.
 void refresh(HttpServletRequest request, HttpServletResponse response)
          Called on this object for non-lookup (refresh) requests.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrutsModule

public StrutsModule(String modulePath)
Construct on the given Struts module path.

Parameters:
modulePath - the Struts module path.
Method Detail

getURI

public String getURI()
Get the URI for this Struts module.

Specified by:
getURI in interface ActionResolver
Returns:
a String URI that is the Struts module path, relative to the web application root.

getModulePath

public String getModulePath()
Description copied from interface: ActionResolver
Get the Struts module path associated with this ActionResolver.

Specified by:
getModulePath in interface ActionResolver

isPageFlow

public boolean isPageFlow()
Tell whether this is a PageFlowController.

Specified by:
isPageFlow in interface ActionResolver
Returns:
false.

refresh

public void refresh(HttpServletRequest request,
                    HttpServletResponse response)
Description copied from interface: ActionResolver
Called on this object for non-lookup (refresh) requests.

Specified by:
refresh in interface ActionResolver