java.lang.Object
org.infohazard.maverick.ctl.Throwaway2
- All Implemented Interfaces:
- org.infohazard.maverick.flow.Controller
- Direct Known Subclasses:
- ThrowawayBean2, ThrowawayFormBeanUser
- public abstract class Throwaway2
- extends java.lang.Object
- implements org.infohazard.maverick.flow.Controller
Throwaway2 is a base class for simple controllers which implements
the single-use controller pattern (a fresh controller instance is
created to service each request). No population of properties is
performed by this class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUCCESS
public static final java.lang.String SUCCESS
- Common name for the typical "success" view.
- See Also:
- Constant Field Values
ERROR
public static final java.lang.String ERROR
- Common name for the typical "error" view.
- See Also:
- Constant Field Values
controllerCtx
private org.infohazard.maverick.flow.ControllerContext controllerCtx
Throwaway2
public Throwaway2()
go
public final java.lang.String go(org.infohazard.maverick.flow.ControllerContext cctx)
throws javax.servlet.ServletException
- Sets up the servlet parameters and calls through to the
parameterless rawPerform() method. Does not result in
bean population.
- Specified by:
go in interface org.infohazard.maverick.flow.Controller
go
protected abstract java.lang.String go()
throws java.lang.Exception
- This is the method you should override to implement application logic.
getCtx
protected org.infohazard.maverick.flow.ControllerContext getCtx()
- Obtain the controller context for this request.