|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dream.control.lifecycle.ActivityLifeCycleMixin
public abstract class ActivityLifeCycleMixin
This mixin can be applied to a lifecycle controller in order to start the activities of the component to which the controller belongs.
Requirements
UseComponentMixin
mixin.UseTaskControllerMixin
mixin.UseTaskActivationControllerMixin
mixin.LoggableLifeCycleMixin
mixin.
BasicLifeCycleControllerMixin
lifecycle controller implementation.
Field Summary | |
---|---|
Component |
_this_weaveableC
The weaveableC field required by this mixin. |
Logger |
_this_weaveableLCCLogger
The weaveableLCCLogger field required by this mixin. |
TaskActivationController |
_this_weaveableTAC
The weaveableTAC field required by this mixin. |
TaskController |
_this_weaveableTC
The weaveableTC field required by this mixin. |
protected LifeCycleCoordinator |
fcActivityCoordinator
|
protected int |
fcNbStoppingTask
|
Method Summary | |
---|---|
abstract boolean |
_super_checkInactivity()
The checkInactivity method overriden by this mixin. |
abstract boolean |
_super_setFcStarted()
The LifeCycleCoordinator.setFcStarted() method overriden by this
mixin. |
abstract void |
_super_setFcStopping(LifeCycleCoordinator coordinator)
The LifeCycleCoordinator.setFcStopping(LifeCycleCoordinator)
method overriden by this mixin. |
abstract boolean |
_this_isInactivated(LifeCycleCoordinator coordinator)
The isInactivated method used by this mixin. |
boolean |
checkInactivity()
Returns true If the component has no executing task and
super implementation returns true . |
boolean |
setFcStarted()
Calls super implementation and starts internal activities in the started state. |
void |
setFcStopping(LifeCycleCoordinator coordinator)
Calls super implementation and looks for this component's coordinator controller. |
void |
taskStopped(Task task)
Called when the specified task is inactinaved. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int fcNbStoppingTask
protected LifeCycleCoordinator fcActivityCoordinator
public Component _this_weaveableC
Component
interface of the component to
which this controller object belongs.
public Logger _this_weaveableLCCLogger
Logger
of this controller.
public TaskController _this_weaveableTC
TaskController
interface of the
component to which this controller object belongs.
public TaskActivationController _this_weaveableTAC
weaveableTAC
field required by this mixin. This field is
supposed to reference the TaskActivationController
interface of
the component to which this controller object belongs.
Method Detail |
---|
public boolean setFcStarted() throws IllegalLifeCycleException
IllegalLifeCycleException
LifeCycleCoordinator.setFcStarted()
public void setFcStopping(LifeCycleCoordinator coordinator) throws IllegalLifeCycleException
IllegalLifeCycleException
LifeCycleCoordinator.setFcStopping(LifeCycleCoordinator)
public boolean checkInactivity()
true
If the component has no executing task and
super implementation returns true
.
true
If the component is inactivepublic void taskStopped(Task task)
TaskStoppedListener
taskStopped
in interface TaskStoppedListener
task
- an inactivated task.TaskStoppedListener.taskStopped(Task)
public abstract boolean _super_setFcStarted() throws IllegalLifeCycleException
LifeCycleCoordinator.setFcStarted()
method overriden by this
mixin.
IllegalLifeCycleException
BasicLifeCycleControllerMixin
public abstract void _super_setFcStopping(LifeCycleCoordinator coordinator) throws IllegalLifeCycleException
LifeCycleCoordinator.setFcStopping(LifeCycleCoordinator)
method overriden by this mixin.
IllegalLifeCycleException
BasicLifeCycleControllerMixin
public abstract boolean _super_checkInactivity()
checkInactivity
method overriden by this mixin. This
method is supposed to work as this
SimpleLifeCycleControllerMixin.checkInactivity()
method.
SimpleLifeCycleControllerMixin.checkInactivity()
public abstract boolean _this_isInactivated(LifeCycleCoordinator coordinator)
isInactivated
method used by this mixin. This method is
supposed to work as this
SimpleLifeCycleControllerMixin.isInactivated(org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator)
method.
SimpleLifeCycleControllerMixin.isInactivated(org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |