org.rhq.helpers.perftest.support
Interface Input

All Known Implementing Classes:
CsvInput, XmlInput, ZippedCsvInput

public interface Input

Implementations of this interface wrap the IDataSetProducer instances and are able to close the system resources when the producer instance is no longer needed.

Author:
Lukas Krejci

Method Summary
 void close()
          Closes any system resources that were used by the producer and prepares the input to provide a new data set producer with the call to getProducer().
 org.dbunit.dataset.stream.IDataSetProducer getProducer()
          The returned producer is assumed to produce a data set that can then be fed into a database.
 

Method Detail

getProducer

org.dbunit.dataset.stream.IDataSetProducer getProducer()
                                                       throws Exception
The returned producer is assumed to produce a data set that can then be fed into a database. (the specification of the producer is left for the subclasses to define).

Returns:
the dbUnit data set producer
Throws:
Exception

close

void close()
           throws IOException
Closes any system resources that were used by the producer and prepares the input to provide a new data set producer with the call to getProducer().

Throws:
IOException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.