org.gcube.common.xml.databases.existlibrary
Class PooledConnectionFactory

java.lang.Object
  extended by org.gcube.common.xml.databases.existlibrary.PooledConnectionFactory

public class PooledConnectionFactory
extends java.lang.Object

Factory for Pooled Connection

Author:
manuele simi, lucio lelii (CNR)

Method Summary
 PooledConnection getConnection()
          Gets a read-write connection
static PooledConnectionFactory getFactory()
           
 void shutDownConnection()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFactory

public static PooledConnectionFactory getFactory()

getConnection

public PooledConnection getConnection()
                               throws PooledConnection.NoConnectionAvailableException
Gets a read-write connection

Returns:
StorageManager
Throws:
PooledConnection.NoConnectionAvailableException

shutDownConnection

public void shutDownConnection()