org.objectweb.dream.control.logger
Class LoggerLifeCycleMixin

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

public abstract class LoggerLifeCycleMixin
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 only with life cycle controller that does not implement 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
LoggerLifeCycleMixin()
           
 
Method Summary
abstract  void _super_startFc()
          The LifeCycleController.startFc() method overriden by this mixin.
 void startFc()
          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

LoggerLifeCycleMixin

public LoggerLifeCycleMixin()
Method Detail

startFc

public void startFc()
             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:
LifeCycleController.startFc()

_super_startFc

public abstract void _super_startFc()
                             throws IllegalLifeCycleException
The LifeCycleController.startFc() method overriden by this mixin.

Throws:
IllegalLifeCycleException
See Also:
LifeCycleController.startFc()


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