org.objectweb.dream.control.activity.task
Class LoggableTaskMixin

java.lang.Object
  extended byorg.objectweb.dream.control.activity.task.LoggableTaskMixin
All Implemented Interfaces:
Loggable

public abstract class LoggableTaskMixin
extends Object
implements Loggable

Basic mixin implementing the Loggable interface, and provides a logger to the taskController.

Requirements


Field Summary
 LoggerController _this_weaveableOptLogC
          The weaveableOptLogC field required by this mixin.
 Logger weaveableTCLogger
          The logger of the task controller
 
Constructor Summary
LoggableTaskMixin()
           
 
Method Summary
abstract  void _super_initFcController(InitializationContext ic)
          The Controller.initFcController(InitializationContext) method overriden by this mixin.
 void initFcController(InitializationContext ic)
           
 void setLogger(String name, Logger logger)
          Gives the logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weaveableTCLogger

public Logger weaveableTCLogger
The logger of the task controller


_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

LoggableTaskMixin

public LoggableTaskMixin()
Method Detail

initFcController

public void initFcController(InitializationContext ic)
                      throws InstantiationException
Throws:
InstantiationException
See Also:
Controller.initFcController(InitializationContext)

setLogger

public void setLogger(String name,
                      Logger logger)
Description copied from interface: Loggable
Gives the logger.

Specified by:
setLogger in interface Loggable
Parameters:
name - the registration name.
logger - the logger.
See Also:
Loggable.setLogger(String, Logger)

_super_initFcController

public abstract void _super_initFcController(InitializationContext ic)
                                      throws InstantiationException
The Controller.initFcController(InitializationContext) method overriden by this mixin.

Throws:
InstantiationException
See Also:
Controller.initFcController(InitializationContext)


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