it.eng.spago.cms.pool
Interface CMSPool

All Known Implementing Classes:
CMSPoolImpl

public interface CMSPool

Interface that defines methods to manage a pool of cms repository connections


Method Summary
 void closeConnection(CMSConnection con)
          Closes a connection of the repository
 CMSConnection getConnection()
          Gets a connection to the repository
 

Method Detail

getConnection

CMSConnection getConnection()
                            throws EMFInternalError
Gets a connection to the repository

Returns:
CMSConnection to the repository
Throws:
EMFInternalError - if an error occurs during the connection retriving

closeConnection

void closeConnection(CMSConnection con)
                     throws EMFInternalError
Closes a connection of the repository

Parameters:
con, - connection to close
Throws:
EMFInternalError - if an error occurs during the connection closing