eu.keep.emulatorarchive
Class EmulatorArchive

Object
  extended by EmulatorArchive

public class EmulatorArchive
extends Object

Emulator Archive main class Starts the emulator archive: connects to the database, publishes the endpoints Replaces "EmulatorArchivePortType_EmulatorArchivePort_Server", a Java class generated by Apache CXF wsdl2java (when given '-server' flag). Some functionality from that class has been copied here.

Author:
David Michel, Bram Lohman

Constructor Summary
EmulatorArchive(Properties props)
          Constructor
 
Method Summary
 void closeConnection()
          Closes the connection to the database
static void main(String[] args)
          Start the emulator archive (runs indefinitely)
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmulatorArchive

public EmulatorArchive(Properties props)
                throws IOException
Constructor

Parameters:
props - The properties file
Throws:
IOException
Method Detail

main

public static void main(String[] args)
                 throws Exception
Start the emulator archive (runs indefinitely)

Parameters:
args -
Throws:
Exception

closeConnection

public void closeConnection()
                     throws IOException
Closes the connection to the database

Throws:
IOException