aokell.lib.control.lifecycle
Class CompositeLifeCycleControllerImpl

java.lang.Object
  extended by aokell.lib.control.lifecycle.AbstractLifeCycleControllerImpl
      extended by aokell.lib.control.lifecycle.CompositeLifeCycleControllerImpl
All Implemented Interfaces:
Controller, LifeCycleControllerItf, LifeCycleController

public class CompositeLifeCycleControllerImpl
extends AbstractLifeCycleControllerImpl
implements LifeCycleControllerItf

Default implementation of the life cyle controller for composite components.

Author:
Lionel Seinturier , Romain Rouvoy

Field Summary
 
Fields inherited from class aokell.lib.control.lifecycle.AbstractLifeCycleControllerImpl
compctrl, started
 
Fields inherited from interface aokell.lib.control.lifecycle.LifeCycleControllerItf
NAME, TYPE
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
CompositeLifeCycleControllerImpl()
           
 
Method Summary
 boolean setFcStarted()
           
 boolean setFcStopped()
           
 
Methods inherited from class aokell.lib.control.lifecycle.AbstractLifeCycleControllerImpl
cloneFcCtrl, getFcState, initFcCtrl, isFcStarted, setFcCompCtrl, startFc, stopFc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface aokell.lib.control.lifecycle.LifeCycleControllerItf
isFcStarted
 
Methods inherited from interface org.objectweb.fractal.api.control.LifeCycleController
getFcState, startFc, stopFc
 

Constructor Detail

CompositeLifeCycleControllerImpl

public CompositeLifeCycleControllerImpl()
Method Detail

setFcStarted

public boolean setFcStarted()
                     throws IllegalLifeCycleException
Specified by:
setFcStarted in interface LifeCycleControllerItf
Overrides:
setFcStarted in class AbstractLifeCycleControllerImpl
Returns:
true if the component is in the STOPPED state before the call.
Throws:
IllegalLifeCycleException

setFcStopped

public boolean setFcStopped()
                     throws IllegalLifeCycleException
Specified by:
setFcStopped in interface LifeCycleControllerItf
Overrides:
setFcStopped in class AbstractLifeCycleControllerImpl
Returns:
true if the component is in the STARTED state before the call.
Throws:
IllegalLifeCycleException