|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouperClient.jdbc.GcTransactionCallback<T>
T
- is the type of object that will be returned.public abstract class GcTransactionCallback<T>
Object that gets a dbAccess object with a session in it.
Constructor Summary | |
---|---|
GcTransactionCallback()
|
Method Summary | |
---|---|
abstract T |
callback(GcDbAccess dbAccess)
Get access to the dbAccess with a session. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GcTransactionCallback()
Method Detail |
---|
public abstract T callback(GcDbAccess dbAccess)
Get access to the dbAccess with a session. If no excpetions are thrown, the session will be automatically committed. You can also commit or rollback manually by calling DbAccess.commitSession() or dbAccess.rollbackSession().
dbAccess
- is the access instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |