org.dbe.eve
Class ServiceManager

java.lang.Object
  extended by org.dbe.eve.ServiceManager

public class ServiceManager
extends java.lang.Object


Constructor Summary
ServiceManager(HabitatService service)
           
 
Method Summary
 void addService(EvEService service)
           
 void createEvEService(java.lang.String smid, SBVRDescription model)
           
 java.util.TimerTask getPoolWriterTimer()
           
 ServicePool getServicePool()
           
 void init()
          The init Method loads the servicePool from a file (if available) and starts the timer for periodic persisting the servicePool to the file
 void recordServiceUsage(java.lang.String smId)
           
 void removeService(java.lang.String smId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceManager

public ServiceManager(HabitatService service)
Method Detail

recordServiceUsage

public void recordServiceUsage(java.lang.String smId)

createEvEService

public void createEvEService(java.lang.String smid,
                             SBVRDescription model)

addService

public void addService(EvEService service)

removeService

public void removeService(java.lang.String smId)

getServicePool

public ServicePool getServicePool()

init

public void init()
The init Method loads the servicePool from a file (if available) and starts the timer for periodic persisting the servicePool to the file


getPoolWriterTimer

public java.util.TimerTask getPoolWriterTimer()