org.opennms.bb.dp.common.components
Interface DBRunnable

All Known Implementing Classes:
CapsWriter, EventWriter

public interface DBRunnable

The DBRunnable interface is very similar in concept to the interface java.lang.Runnable. The DBRunnable interface provides a method that objects must implement and takes a single argument of type java.sql.Connection. The connection can be used to communicate with the connected database using any JDBC techniques.

Author:
Sowmya, OpenNMS
See Also:
Runnable

Method Summary
 void dbRun(Connection dbConnection)
          The method to invoke on an implementing object when it is to be run with a specific database connection.
 

Method Detail

dbRun

public void dbRun(Connection dbConnection)

The method to invoke on an implementing object when it is to be run with a specific database connection.

Parameters:
dbConnection - The connection to the JDBC database.