|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.control.lifecycle.FullLifeCycleMixin
public abstract class FullLifeCycleMixin
This mixin provides a usable implementation of the
LifeCycleController.stopFc()
method. This method stop every sub components providing a lifecycle
controller at once.
Requirements
UseComponentMixin
mixin.SimpleLifeCycleControllerMixin
lifecycle controller implementation.ThreadCounterMixin
lifecycle
controller extension.
Field Summary | |
---|---|
Component |
_this_weaveableC
The weaveableC field required by this mixin. |
int |
_this_weaveableFcState
the weaveableFcState field required by this mixin. |
Logger |
_this_weaveableLCCLogger
The weaveableLCCLogger field required by this mixin. |
Constructor Summary | |
---|---|
FullLifeCycleMixin()
|
Method Summary | |
---|---|
abstract void |
_this_setFcState(boolean started)
The setFcState method required by this mixin. |
abstract void |
_this_stopFc(LifeCycleCoordinator[] components)
the stopFc method required by this mixin. |
LifeCycleCoordinator[] |
getFcLifeCycleControllers()
Returns the lifecycle control interface of sub components. |
void |
stopFc()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Component _this_weaveableC
weaveableC
field required by this mixin. This field is
supposed to reference the Component
interface of the component to
which this controller object belongs.
public int _this_weaveableFcState
weaveableFcState
field required by this mixin. This field
is supposed to reference the current state of the component lifecycle.
SimpleLifeCycleControllerMixin.weaveableFcState
public Logger _this_weaveableLCCLogger
Logger
of this controller.
Constructor Detail |
---|
public FullLifeCycleMixin()
Method Detail |
---|
public void stopFc() throws IllegalLifeCycleException
IllegalLifeCycleException
LifeCycleController.stopFc()
public LifeCycleCoordinator[] getFcLifeCycleControllers() throws IllegalLifeCycleException
LifeCycleCoordinator
of sub components.
IllegalLifeCycleException
- if a problem occurs.public abstract void _this_setFcState(boolean started) throws IllegalLifeCycleException
setFcState
method.
started
- true to set the lifecycle state of the components
to
STARTED
,
or false to set this state to
STOPPED
.
IllegalLifeCycleException
- if a problem occurs.public abstract void _this_stopFc(LifeCycleCoordinator[] components) throws IllegalLifeCycleException
stopFc
method required by this mixin. This method is
supposed to work a this
BasicLifeCycleCoordinatorMixin.stopFc(LifeCycleCoordinator[])
method.
IllegalLifeCycleException
BasicLifeCycleCoordinatorMixin.stopFc(LifeCycleCoordinator[])
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |