|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.subj.GrouperJdbcConnectionProvider.GrouperJdbcConnectionBean
public static class GrouperJdbcConnectionProvider.GrouperJdbcConnectionBean
bean to hold connection
Constructor Summary | |
---|---|
GrouperJdbcConnectionProvider.GrouperJdbcConnectionBean(HibernateSession theHibernateSession)
construct |
Method Summary | |
---|---|
Connection |
connection()
get a connection (dont close this when done, just call "doneWithConnection()" |
void |
doneWithConnection()
call this when the connection is done. |
void |
doneWithConnectionError(Throwable t)
call this when the connection is done but there was an error, will pass an exception. |
void |
doneWithConnectionFinally()
call this when the connection is not needed, in the finally block this might return to pool. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrouperJdbcConnectionProvider.GrouperJdbcConnectionBean(HibernateSession theHibernateSession)
theHibernateSession
- Method Detail |
---|
public Connection connection() throws SQLException
JdbcConnectionBean
connection
in interface JdbcConnectionBean
SQLException
- if there is a problemJdbcConnectionBean.connection()
public void doneWithConnection() throws SQLException
JdbcConnectionBean
doneWithConnection
in interface JdbcConnectionBean
SQLException
- if there is a problemJdbcConnectionBean.doneWithConnection()
public void doneWithConnectionError(Throwable t)
JdbcConnectionBean
doneWithConnectionError
in interface JdbcConnectionBean
JdbcConnectionBean.doneWithConnectionError(java.lang.Throwable)
public void doneWithConnectionFinally()
JdbcConnectionBean
doneWithConnectionFinally
in interface JdbcConnectionBean
JdbcConnectionBean.doneWithConnectionFinally()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |