vxmlsurfer
Class Terminator

java.lang.Object
  extended by vxmlsurfer.Terminator

public class Terminator
extends java.lang.Object

This Class is for proper system termination

Author:
Joydeep Jana

Constructor Summary
Terminator(CleanExit applCloser, Processor processor, VXMLSurfer vxmlInterpreter)
          Constructor
 
Method Summary
 void exitApplication()
          Proper Termination of system on exit
 CleanExit getApplCloser()
          get CleanExit
 Processor getProcessor()
          gets instance of Processor
 VXMLSurfer getVxmlInterpreter()
          gets VXMLInterpreter
 void setApplCloser(CleanExit applCloser)
          Set CleanExit
 void setProcessor(Processor processor)
          sets Processor
 void setVxmlInterpreter(VXMLSurfer vxmlInterpreter)
          sets VXMLInterpreter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Terminator

public Terminator(CleanExit applCloser,
                  Processor processor,
                  VXMLSurfer vxmlInterpreter)
Constructor

Parameters:
CleanExit -
processor -
vxmlInterpreter -
Method Detail

getProcessor

public Processor getProcessor()
gets instance of Processor

Returns:
Processor

setProcessor

public void setProcessor(Processor processor)
sets Processor

Parameters:
processor -

getVxmlInterpreter

public VXMLSurfer getVxmlInterpreter()
gets VXMLInterpreter

Returns:
VXMLInterpreter

setVxmlInterpreter

public void setVxmlInterpreter(VXMLSurfer vxmlInterpreter)
sets VXMLInterpreter

Parameters:
vxmlInterpreter -

exitApplication

public void exitApplication()
Proper Termination of system on exit


getApplCloser

public CleanExit getApplCloser()
get CleanExit

Returns:
CleanExit

setApplCloser

public void setApplCloser(CleanExit applCloser)
Set CleanExit