aokell.lib.control.lifecycle
Class NonCompositeLifeCycleControllerImpl
java.lang.Object
aokell.lib.control.lifecycle.AbstractLifeCycleControllerImpl
aokell.lib.control.lifecycle.NonCompositeLifeCycleControllerImpl
- All Implemented Interfaces:
- Controller, LifeCycleControllerItf, LifeCycleController
public class NonCompositeLifeCycleControllerImpl
- extends AbstractLifeCycleControllerImpl
- implements LifeCycleControllerItf
Default implementation of the life cyle controller for non composite
components.
- Author:
- Lionel Seinturier , Romain Rouvoy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonCompositeLifeCycleControllerImpl
public NonCompositeLifeCycleControllerImpl()
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