org.objectweb.dream.control.logger
Class LoggerLifeCycleCoordinatorMixin

java.lang.Object
  extended by org.objectweb.dream.control.logger.LoggerLifeCycleCoordinatorMixin

public abstract class LoggerLifeCycleCoordinatorMixin
extends Object

Change the base name of component loggers at startup to reflect the component's path. This is done only if the base name was not assigned with the LoggerController.setBaseName(String)method.
This mixin should be used with life cycle controller implementing LifeCycleCoordinator interface.

Requirements


Field Summary
 Component _this_weaveableC
          The weaveableC field required by this mixin.
 LoggerController _this_weaveableOptLogC
          The weaveableOptLogC field required by this mixin.
 
Constructor Summary
LoggerLifeCycleCoordinatorMixin()
           
 
Method Summary
abstract  boolean _super_setFcStarted()
          The LifeCycleCoordinator.setFcStarted() method overriden by this mixin.
 boolean setFcStarted()
          Calls the overriden method and then sets the activityLogger and activityLogger factory of the user component encapsulated in this component (if there is one).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_this_weaveableC

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


_this_weaveableOptLogC

public LoggerController _this_weaveableOptLogC
The weaveableOptLogC field required by this mixin. This field is supposed to reference the LoggerControllerinterface of the component to which this controller object belongs.

Constructor Detail

LoggerLifeCycleCoordinatorMixin

public LoggerLifeCycleCoordinatorMixin()
Method Detail

setFcStarted

public boolean setFcStarted()
                     throws IllegalLifeCycleException
Calls the overriden method and then sets the activityLogger and activityLogger factory of the user component encapsulated in this component (if there is one).

Throws:
IllegalLifeCycleException
See Also:
LifeCycleCoordinator.setFcStarted()

_super_setFcStarted

public abstract boolean _super_setFcStarted()
                                     throws IllegalLifeCycleException
The LifeCycleCoordinator.setFcStarted() method overriden by this mixin.

Throws:
IllegalLifeCycleException
See Also:
LifeCycleCoordinator.setFcStarted()


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