org.rhq.helpers.perftest.support
Class Importer

java.lang.Object
  extended by org.rhq.helpers.perftest.support.Importer

public class Importer
extends Object

Utility method to import the data previously produced by the Exporter.

Author:
Lukas Krejci

Method Summary
static void run(Connection jdbcConnection, Input input)
          Imports the data from the input into a database using the provided JDBC connection.
static void run(org.dbunit.database.IDatabaseConnection connection, Input input)
           
static void run(Properties settings, Input input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public static void run(Connection jdbcConnection,
                       Input input)
                throws Exception
Imports the data from the input into a database using the provided JDBC connection.

Parameters:
jdbcConnection -
input -
Throws:
Exception

run

public static void run(Properties settings,
                       Input input)
                throws Exception
Throws:
Exception

run

public static void run(org.dbunit.database.IDatabaseConnection connection,
                       Input input)
                throws Exception
Throws:
Exception


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