connectionpool
Interface Close

All Known Implementing Classes:
SmartStatement, SmartPreparedStatement, SmartCallableStatement, SmartConnection

public abstract interface Close

This interface is implemented by SmartStatement, SmartPreparedStatement and SmartCallableStatement. This allows the SmartStament, SmartPreparedStatement, and SmartCallableStatement to be closed through this generic interface when auto-close is enabled.


Method Summary
 void close()
          This method closes the Object.
 boolean isClosed()
          This method returns true if the Object is already closed
 

Method Detail

close

public void close()
           throws java.sql.SQLException
This method closes the Object. Any further invoking of this object would result in an exception.
Throws:
java.sql.SQLException -  

isClosed

public boolean isClosed()
                 throws java.sql.SQLException
This method returns true if the Object is already closed
Returns:
true if the Object is already closed
Throws:
java.sql.SQLException -