org.ow2.jasmine.jade.reflex.control.lifecycle
Class ReflexLifeCycleMixin

java.lang.Object
  extended by org.ow2.jasmine.jade.reflex.control.lifecycle.ReflexLifeCycleMixin
All Implemented Interfaces:
org.objectweb.fractal.api.control.LifeCycleController, org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator, org.objectweb.fractal.julia.Controller, LifeCycleNotificationController

public abstract class ReflexLifeCycleMixin
extends java.lang.Object
implements org.objectweb.fractal.julia.Controller, org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator, LifeCycleNotificationController

Provides an implementation of the LifeCycleController interface which manages the causal connection with the dual level (i.e meta/execution): any lifecycle operation performed on the current component is notified to the lifecycle controller of dual component.

Author:
Fabienne Boyer

Field Summary
 ReflexController _this_weaveableOptRC
          The weaveableOptRC field required by this mixin.
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Method Summary
abstract  void _super_startFc()
          The startFc method overriden by this mixin.
abstract  void _super_stopFc()
          The stopFc method overriden by this mixin.
 void startFc()
          Calls the overriden startFc method and then notifies the dual level of the lifecycle operation.
 void startFcNotification()
          Calls the overriden startFc method.
 void stopFc()
          Calls the overriden stopFc method and then notifies the dual level of the lifecycle operation.
 void stopFcNotification()
          Calls the overriden stopFc 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.Controller
initFcController
 
Methods inherited from interface org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator
fcActivated, fcInactivated, setFcStarted, setFcStopped, setFcStopping
 
Methods inherited from interface org.objectweb.fractal.api.control.LifeCycleController
getFcState
 

Field Detail

_this_weaveableOptRC

public ReflexController _this_weaveableOptRC
The weaveableOptRC field required by this mixin. This field is supposed to reference the ReflexController interface of the component to which this controller object belongs.

Method Detail

startFc

public void startFc()
             throws org.objectweb.fractal.api.control.IllegalLifeCycleException
Calls the overriden startFc method and then notifies the dual level of the lifecycle operation.

Specified by:
startFc in interface org.objectweb.fractal.api.control.LifeCycleController
Throws:
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.

stopFc

public void stopFc()
            throws org.objectweb.fractal.api.control.IllegalLifeCycleException
Calls the overriden stopFc method and then notifies the dual level of the lifecycle operation.

Specified by:
stopFc in interface org.objectweb.fractal.api.control.LifeCycleController
Throws:
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.

startFcNotification

public void startFcNotification()
                         throws org.objectweb.fractal.api.control.IllegalLifeCycleException
Calls the overriden startFc method.

Specified by:
startFcNotification in interface LifeCycleNotificationController
Throws:
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.

stopFcNotification

public void stopFcNotification()
                        throws org.objectweb.fractal.api.control.IllegalLifeCycleException
Calls the overriden stopFc method.

Specified by:
stopFcNotification in interface LifeCycleNotificationController
Throws:
org.objectweb.fractal.api.control.IllegalLifeCycleException - if this component has a LifeCycleController interface, but it is not in an appropriate state to perform this operation.

_super_startFc

public abstract void _super_startFc()
                             throws org.objectweb.fractal.api.control.IllegalLifeCycleException
The startFc method overriden by this mixin.

Throws:
org.objectweb.fractal.api.control.IllegalLifeCycleException - if a problem occurs.

_super_stopFc

public abstract void _super_stopFc()
                            throws org.objectweb.fractal.api.control.IllegalLifeCycleException
The stopFc method overriden by this mixin.

Throws:
org.objectweb.fractal.api.control.IllegalLifeCycleException - if a problem occurs.


Copyright © 2008 OW2 Consortium. All Rights Reserved.