T
- is the type of object that will be returned.public abstract class GcConnectionCallback<T> extends Object
Constructor and Description |
---|
GcConnectionCallback() |
Modifier and Type | Method and Description |
---|---|
abstract T |
callback(Connection connection)
Get access to the database connection.
|
public abstract T callback(Connection connection)
Get access to the database connection. If no exception are thrown, the session will be automatically committed.
connection
- is the connection access.Copyright © 2016 Internet2. All rights reserved.