org.objectweb.fractal.aokell.lib.control.name
Class NameControllerImpl

java.lang.Object
  extended by org.objectweb.fractal.aokell.lib.control.name.NameControllerImpl
All Implemented Interfaces:
Controller, NameControllerItf, NameController

public class NameControllerImpl
extends Object
implements NameControllerItf, Controller

Implementation of the name controller.

Author:
Lionel Seinturier

Field Summary
 
Fields inherited from interface org.objectweb.fractal.aokell.lib.control.name.NameControllerItf
NAME, TYPE
 
Constructor Summary
NameControllerImpl()
           
 
Method Summary
 void cloneFcCtrl(Component dst, Object hints)
          Clone the controller state from the current component to another one.
 String getFcName()
           
 void initFcCtrl()
          Initialize the controller.
 void setFcCompCtrl(Component compctrl)
          Set the reference towards the component controller associated to this controller.
 void setFcName(String arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameControllerImpl

public NameControllerImpl()
Method Detail

getFcName

public String getFcName()
Specified by:
getFcName in interface NameController

setFcName

public void setFcName(String arg0)
Specified by:
setFcName in interface NameController

setFcCompCtrl

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

Specified by:
setFcCompCtrl in interface Controller

initFcCtrl

public void initFcCtrl()
Initialize the controller.

Specified by:
initFcCtrl in interface Controller

cloneFcCtrl

public 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.

Specified by:
cloneFcCtrl in interface Controller
Parameters:
dst - the destination component
hints - hints for performing the operation
Throws:
CloneCtrlException