org.infohazard.maverick.flow
Interface ControllerSingleton

All Superinterfaces:
Controller
All Known Implementing Classes:
FormBeanUser

public interface ControllerSingleton
extends Controller

ControllerSingleton serves two purposes: First, the presence of this interface on a Controller class indicates to the framework that the controller should be defined as a singleton rather than instantiating a fresh instance for every request. Second, it provides a method to initialize the singleton controller with the relevant XML data from the configuration file.


Method Summary
 void init(org.jdom.Element controllerNode)
          Guaranteed to be called once with the XML configuration of the controller from the master config file.
 
Methods inherited from interface org.infohazard.maverick.flow.Controller
go
 

Method Detail

init

public void init(org.jdom.Element controllerNode)
          throws ConfigException
Guaranteed to be called once with the XML configuration of the controller from the master config file.

ConfigException