org.objectweb.fractal.aokell.lib.control
Interface Controller

All Known Implementing Classes:
AbstractBindingControllerImpl, AttributeControllerImpl, ComponentImpl, CompositeAutoBindingControllerImpl, CompositeBindingControllerImpl, CompositeComponentImpl, CompositeLifeCycleControllerImpl, CompositeTemplateBindingControllerImpl, ContentControllerImpl, FactoryControllerImpl, FlatBindingControllerImpl, FlatTemplateBindingControllerImpl, LifeCycleControllerImpl, NameControllerImpl, PrimitiveAutoBindingControllerImpl, PrimitiveBindingControllerImpl, PrimitiveTemplateBindingControllerImpl, SuperControllerImpl, TemplateContentControllerImpl

public interface Controller

Interface for defining a controller.

Author:
Lionel Seinturier

Method Summary
 void cloneFcCtrl(Component dst, Object hints)
          Clone the controller state from the current component to another one.
 void initFcCtrl()
          Initialize the controller.
 void setFcCompCtrl(Component compctrl)
          Set the reference towards the component controller associated to this controller.
 

Method Detail

setFcCompCtrl

void setFcCompCtrl(Component compctrl)
Set the reference towards the component controller associated to this controller.


initFcCtrl

void initFcCtrl()
Initialize the controller.


cloneFcCtrl

void cloneFcCtrl(Component dst,
                 Object hints)
                 throws CloneCtrlException
Clone the controller state from the current component to another one. This method may receive some hints on how to do this, or provide some hints on how this has been done. For instance, the hints may be a map that is read and/or written by the controller. The raison d'etre of these hints is that when its state is cloned, a controller may produce results that are needed by other controllers.

Parameters:
dst - the destination component
hints - hints for performing the operation
Throws:
CloneCtrlException