cvm.ucm.manager
Class UCMManager

java.lang.Object
  extended by cvm.ucm.manager.UCMManager

public class UCMManager
extends java.lang.Object

Controls the work flow inside the UCM system. This class also notifies the overlying system of any event that are specific to it.

Author:
Frank Hernandez

Method Summary
 void attachNCB()
          Attaches the NCB instance to the UCMManager.
 void attachSynthesisEngine(SEManager thisSE)
          Attaches the SynthesisEngine intance to the UCMManager.
 void executeScript(java.lang.String script)
          This method executes a control scipt received from the SynthesisEngine.
static UCMManager Instance()
          This is the Instance implementation of Singleton Design Pattern.
static void notifyEvent(Handles_Event event)
          Notifies the occurance of an even.
static void notifySEEvent(Handles_Event e)
          Notifies the SE of an event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

Instance

public static UCMManager Instance()
This is the Instance implementation of Singleton Design Pattern.

Returns:
UCMManager instance

notifyEvent

public static void notifyEvent(Handles_Event event)
Notifies the occurance of an even.

Parameters:
event -

notifySEEvent

public static void notifySEEvent(Handles_Event e)
Notifies the SE of an event.

Parameters:
e -

executeScript

public void executeScript(java.lang.String script)
This method executes a control scipt received from the SynthesisEngine.

Parameters:
script -
Throws:
org.codehaus.janino.CompileException
org.codehaus.janino.Parser.ParseException
org.codehaus.janino.Scanner.ScanException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

attachNCB

public void attachNCB()
Attaches the NCB instance to the UCMManager.


attachSynthesisEngine

public void attachSynthesisEngine(SEManager thisSE)
Attaches the SynthesisEngine intance to the UCMManager.

Parameters:
thisSE -