|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.fractal.julia.control.lifecycle.ContainerLifeCycleMixin
public abstract class ContainerLifeCycleMixin
Provides container related functions to a LifeCycleController
.
Requirements
Field Summary | |
---|---|
Component |
_this_weaveableOptC
The weaveableOptC field required by this mixin. |
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
---|
STARTED, STOPPED |
Method Summary | |
---|---|
abstract boolean |
_super_setFcStarted()
The setFcStarted method overriden
by this mixin. |
abstract boolean |
_super_setFcStopped()
The setFcStopped method overriden
by this mixin. |
void |
setFcContentState(boolean started)
Calls the startFc or stopFc method on the encapsulated component. |
boolean |
setFcStarted()
Calls the overriden method and then calls the setFcContentState method. |
boolean |
setFcStopped()
Calls the overriden method and then calls the setFcContentState method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator |
---|
fcActivated, fcInactivated, setFcStopping |
Methods inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
---|
getFcState, startFc, stopFc |
Field Detail |
---|
public Component _this_weaveableOptC
Component
interface of the component to
which this controller object belongs.
Method Detail |
---|
public boolean setFcStarted() throws IllegalLifeCycleException
setFcContentState
method.
setFcStarted
in interface LifeCycleCoordinator
STARTED
value.
IllegalLifeCycleException
- if a problem occurs.public boolean setFcStopped() throws IllegalLifeCycleException
setFcContentState
method.
setFcStopped
in interface LifeCycleCoordinator
STOPPED
value.
IllegalLifeCycleException
- if a problem occurs.public void setFcContentState(boolean started) throws IllegalLifeCycleException
startFc
or stopFc
method on the encapsulated component.
This method does nothing if there is no encapsulated component, or if it
does not implement the LifeCycleController
interface.
started
- true to call the startFc
, or false to call the stopFc
method.
IllegalLifeCycleException
- if a problem occurs.public abstract boolean _super_setFcStarted() throws IllegalLifeCycleException
setFcStarted
method overriden
by this mixin.
STARTED
value.
IllegalLifeCycleException
- if a problem occurs.public abstract boolean _super_setFcStopped() throws IllegalLifeCycleException
setFcStopped
method overriden
by this mixin.
STOPPED
value.
IllegalLifeCycleException
- if a problem occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |