org.objectweb.dream.util
Class Dream

java.lang.Object
  extended byorg.objectweb.dream.util.Dream

public final class Dream
extends Object

Provides static methods to access control interfaces of Dream components. This class is provided in addition to the Fractalclass.


Method Summary
static LoggerController getLoggerController(Component component)
          Returns the logger controller interface of the given component.
static TaskController getTaskController(Component component)
          Returns the task controller interface of the given component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLoggerController

public static LoggerController getLoggerController(Component component)
                                            throws NoSuchInterfaceException
Returns the logger controller interface of the given component.

Parameters:
component - a component interface
Returns:
the logger controller interface of the given component.
Throws:
NoSuchInterfaceException - if the givn component doesn't have a logger controller.

getTaskController

public static TaskController getTaskController(Component component)
                                        throws NoSuchInterfaceException
Returns the task controller interface of the given component.

Parameters:
component - a component interface
Returns:
the task controller interface of the given component.
Throws:
NoSuchInterfaceException - if the givn component doesn't have a task controller.


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