java.lang.Object
org.infohazard.maverick.flow.ThrowawayControllerAdapter
- All Implemented Interfaces:
- Controller, ControllerSingleton
- public class ThrowawayControllerAdapter
- extends java.lang.Object
- implements ControllerSingleton
This adapter masquerades as a singleton controller but actually
creates single-use instance controllers.
created January 27, 2002
- Version:
- $Revision: 1.5 $ $Date: 2004/06/27 17:40:55 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
controllerClass
protected java.lang.Class controllerClass
- class of controller.
ThrowawayControllerAdapter
public ThrowawayControllerAdapter(java.lang.Class controllerClass)
- Create the adapter.
init
public void init(org.jdom.Element controllerNode)
throws ConfigException
- Currently unused.
- Specified by:
init in interface ControllerSingleton
go
public java.lang.String go(ControllerContext cctx)
throws javax.servlet.ServletException
- Instantiates a single-use controller, executes it, and returns the result.
- Specified by:
go in interface Controller