|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.dbaccess.DataConnectionManager
Questa Classe è il manager di tutti i pool di connessioni registrate con il sottosistema di accesso ai dati e ha le seguenti responsabilità :
Method Summary | |
DataConnection |
getConnection()
Metodo per ottenere una connessione dal pool di default (il primo nome registrato nel file xml) |
DataConnection |
getConnection(javax.naming.Context ctx,
java.lang.String jndiName,
SQLMapper mapper)
Metodo per ottenere una connessione dal pool definito nel Contesto ctx con jndiName |
DataConnection |
getConnection(java.lang.String connectionPoolName)
Metodo per ottenere una connessione dal pool identificato dal parametro passato(il primo nome registrato nel file xml) |
static DataConnectionManager |
getInstance()
Questo metodo serve per ottenere l'unica istanza dell'oggetto DataConnectionManager |
void |
release()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static DataConnectionManager getInstance() throws EMFInternalError
EMFInternalError
public DataConnection getConnection() throws EMFInternalError
EMFInternalError
- - Se si verifica qualche problema nel recuperare la connessione al db
EMFInternalError
public DataConnection getConnection(java.lang.String connectionPoolName) throws EMFInternalError
EMFInternalError
- - Se si verifica qulache problema nel recuperare la connessione al db
EMFInternalError
public DataConnection getConnection(javax.naming.Context ctx, java.lang.String jndiName, SQLMapper mapper) throws EMFInternalError
EMFInternalError
- - Se si verifica qualche problema nel recuperare la connessione al db
EMFInternalError
public void release()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |