Interface ValueGenerationConnectionProvider

public interface ValueGenerationConnectionProvider

Connection provider for a ValueGenerator that requires connections to their datastore.

Method Summary
 void releaseConnection()
          Releases the Connection.
 ManagedConnection retrieveConnection()
          Provides a Connection for a ValueGenerator.

Method Detail


ManagedConnection retrieveConnection()
Provides a Connection for a ValueGenerator. The returned connection should be cast to the appropriate type for the datastore.

The connection


void releaseConnection()
Releases the Connection. Inform to the provider that connection is no longer in use

Copyright © 2009. All Rights Reserved.