org.enhydra.jdbc.pool
Interface PoolHelper

All Known Implementing Classes:
StandardPoolDataSource, StandardXAPoolDataSource

public interface PoolHelper

PoolHelper defines methods allowing to make some specific operation on object. These operations are required to work the Generic Pool


Method Summary
 boolean checkThisObject(java.lang.Object o)
           
 GenerationObject create()
           
 GenerationObject create(java.lang.String _user, java.lang.String _password)
           
 void expire(java.lang.Object o)
           
 boolean testThisObject(java.lang.Object o)
           
 java.lang.String toString()
           
 

Method Detail

expire

void expire(java.lang.Object o)

checkThisObject

boolean checkThisObject(java.lang.Object o)

testThisObject

boolean testThisObject(java.lang.Object o)

create

GenerationObject create()
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

create

GenerationObject create(java.lang.String _user,
                        java.lang.String _password)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object