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.

public abstract class GcConnectionCallback<T> extends Object
Object that gets a database connection object.
  • Constructor Details

    • GcConnectionCallback

      public GcConnectionCallback()
  • Method Details

    • callback

      public abstract T callback(Connection connection)
      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.