Class GcConnectionCallback<T>
java.lang.Object
edu.internet2.middleware.grouperClient.jdbc.GcConnectionCallback<T>
- Type Parameters:
T
- is the type of object that will be returned.
Object that gets a database connection object.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract T
callback
(Connection connection) Get access to the database connection.
-
Constructor Details
-
GcConnectionCallback
public GcConnectionCallback()
-
-
Method Details
-
callback
Get access to the database connection. If no exception are thrown, the session will be automatically committed.
- Parameters:
connection
- is the connection access.- Returns:
- the correct type.
-