org.jpox.store.poid
Interface PoidConnectionProvider


public interface PoidConnectionProvider

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

Version:
$Revision: 1.1 $

Method Summary
 void releaseConnection()
          Releases the Connection.
 java.lang.Object retrieveConnection()
          Provides a Connection for a PoidGenerator.
 

Method Detail

retrieveConnection

public java.lang.Object retrieveConnection()
Provides a Connection for a PoidGenerator. The returned connection should be cast to the appropriate type for the datastore.

Returns:
The connection

releaseConnection

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



Copyright © -2007 . All Rights Reserved.