org.dbe.eve
Class ServicePoolImpl

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.dbe.eve.ServicePoolImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map, ServicePool

public class ServicePoolImpl
extends java.util.HashMap
implements ServicePool, java.io.Serializable

Author:
Claudius TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
ServicePoolImpl()
           
ServicePoolImpl(org.dbe.servent.ServiceContext context)
           
 
Method Summary
 EvEService getEvEService(java.lang.Object i)
          Same method as Map.get (Object), but specifically to ServicePool, so people that don't know what this Interface returns can use it.
 void persist(java.io.File file)
           
static ServicePool unPersist(java.io.File file)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

ServicePoolImpl

public ServicePoolImpl()

ServicePoolImpl

public ServicePoolImpl(org.dbe.servent.ServiceContext context)
Parameters:
context -
Method Detail

getEvEService

public EvEService getEvEService(java.lang.Object i)
Description copied from interface: ServicePool
Same method as Map.get (Object), but specifically to ServicePool, so people that don't know what this Interface returns can use it.

Specified by:
getEvEService in interface ServicePool
Parameters:
i - SM_ID of the Service
Returns:
EvEService returns the associated EvEService
See Also:
ServicePool.getEvEService(java.lang.Object)

persist

public void persist(java.io.File file)
             throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

unPersist

public static final ServicePool unPersist(java.io.File file)
                                   throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException