net.sf.jbenchmark
Class JDBCItemList

java.lang.Object
  extended bynet.sf.jbenchmark.TestFeature
      extended bynet.sf.jbenchmark.JDBCItemList
All Implemented Interfaces:
ItemList

public class JDBCItemList
extends TestFeature
implements ItemList

A list of items selected via JDBC.

Version:
$Id: JDBCItemList.java,v 1.2 2004/02/05 09:25:23 dcotterill Exp $
Author:
Adam Murdoch

Constructor Summary
JDBCItemList()
           
 
Method Summary
 java.lang.String[] getItems()
          Returns the items.
 void setQuery(java.lang.String query)
          Sets the query to execute.
 
Methods inherited from class net.sf.jbenchmark.TestFeature
finish, getContext, getName, setContext, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDBCItemList

public JDBCItemList()
Method Detail

setQuery

public void setQuery(java.lang.String query)
Sets the query to execute.


getItems

public java.lang.String[] getItems()
                            throws java.lang.Exception
Returns the items. This method must be thread-safe.

Specified by:
getItems in interface ItemList
Throws:
java.lang.Exception