org.objectweb.jorm.api
Interface ConnectionHolder


public interface ConnectionHolder

The aim of a ConnectionHolder is to provide a way to find a connection to the data support. For example a previous used connection can be encapsulted in a ConnectionHolder in order to reuse it.

Author:
S.Chassande-Barrioz

Method Summary
 java.lang.Object getCHConnection()
          Retrieves a connection to access data on the support.
 

Method Detail

getCHConnection

public java.lang.Object getCHConnection()
                                 throws PException
Retrieves a connection to access data on the support.

Throws:
PException - if it is not possible to find a connection