org.objectweb.dream.control.lifecycle
Class AsyncStartLifeCycleCoordinatorMixin

java.lang.Object
  extended by org.objectweb.dream.control.lifecycle.AsyncStartLifeCycleCoordinatorMixin
All Implemented Interfaces:
ASyncStarterCoordinator

public abstract class AsyncStartLifeCycleCoordinatorMixin
extends Object
implements ASyncStarterCoordinator

Mixin that implements the coordination of asynchronous start.


Field Summary
 Component _this_weaveableC
          The weaveableC field required by this mixin.
protected  Set<LifeCycleCoordinator> asyncStarting
           
protected  IllegalLifeCycleException lifeCycleException
           
 
Method Summary
abstract  void _super_setFcState(boolean started)
          The setFcState method overridden by this mixin.
 void setFcState(boolean started)
          The setFcState method overridden by this mixin.
 void started(LifeCycleCoordinator lc, IllegalLifeCycleException exception)
          Notifies the life cycle coordinator that the component, the given lc interface belong, has been asynchronously started.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

asyncStarting

protected Set<LifeCycleCoordinator> asyncStarting

lifeCycleException

protected IllegalLifeCycleException lifeCycleException

_this_weaveableC

public Component _this_weaveableC
The weaveableC field required by this mixin. This field is supposed to reference the Component interface of the component to which this controller object belongs.

Method Detail

setFcState

public void setFcState(boolean started)
                throws IllegalLifeCycleException
The setFcState method overridden by this mixin.

Throws:
IllegalLifeCycleException
See Also:
BasicLifeCycleCoordinatorMixin.setFcState(boolean)

started

public void started(LifeCycleCoordinator lc,
                    IllegalLifeCycleException exception)
Description copied from interface: ASyncStarterCoordinator
Notifies the life cycle coordinator that the component, the given lc interface belong, has been asynchronously started.

Specified by:
started in interface ASyncStarterCoordinator
Parameters:
lc - the LifeCycleCoordinator interface of the started component.
exception - if the LifeCycleCoordinator.setFcStarted() throws an exception.
See Also:
ASyncStarterCoordinator.started(LifeCycleCoordinator, IllegalLifeCycleException)

_super_setFcState

public abstract void _super_setFcState(boolean started)
                                throws IllegalLifeCycleException
The setFcState method overridden by this mixin.

Throws:
IllegalLifeCycleException
See Also:
BasicLifeCycleCoordinatorMixin.setFcState(boolean)


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.