com.eviware.soapui.impl.wsdl.panels.teststeps
Class JdbcSubmit

java.lang.Object
  extended by com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit
All Implemented Interfaces:
Submit, java.lang.Runnable

public class JdbcSubmit
extends java.lang.Object
implements Submit, java.lang.Runnable


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.eviware.soapui.model.iface.Submit
Submit.Status
 
Field Summary
static java.lang.String JDBC_ERROR
           
static java.lang.String JDBC_TIMEOUT
           
protected  java.sql.ResultSet resultSet
           
protected  java.sql.PreparedStatement statement
           
 
Constructor Summary
JdbcSubmit(JdbcRequest request, SubmitContext submitContext, boolean async)
           
 
Method Summary
 void cancel()
           
 void cancelQuery()
           
protected  java.lang.String createResponse()
           
protected  void getDatabaseConnection()
           
 java.lang.Exception getError()
           
 Request getRequest()
           
 JdbcResponse getResponse()
           
 Submit.Status getStatus()
           
protected  void load()
           
protected  void prepare()
           
 void run()
           
protected  void runQuery()
           
 Submit.Status waitUntilFinished()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JDBC_ERROR

public static final java.lang.String JDBC_ERROR
See Also:
Constant Field Values

JDBC_TIMEOUT

public static final java.lang.String JDBC_TIMEOUT
See Also:
Constant Field Values

resultSet

protected java.sql.ResultSet resultSet

statement

protected java.sql.PreparedStatement statement
Constructor Detail

JdbcSubmit

public JdbcSubmit(JdbcRequest request,
                  SubmitContext submitContext,
                  boolean async)
Method Detail

cancel

public void cancel()
Specified by:
cancel in interface Submit

getError

public java.lang.Exception getError()
Specified by:
getError in interface Submit

getRequest

public Request getRequest()
Specified by:
getRequest in interface Submit

getResponse

public JdbcResponse getResponse()
Specified by:
getResponse in interface Submit

getStatus

public Submit.Status getStatus()
Specified by:
getStatus in interface Submit

waitUntilFinished

public Submit.Status waitUntilFinished()
Specified by:
waitUntilFinished in interface Submit

run

public void run()
Specified by:
run in interface java.lang.Runnable

runQuery

protected void runQuery()
                 throws java.lang.Exception
Throws:
java.lang.Exception

cancelQuery

public void cancelQuery()

getDatabaseConnection

protected void getDatabaseConnection()
                              throws java.lang.Exception,
                                     java.sql.SQLException
Throws:
java.lang.Exception
java.sql.SQLException

load

protected void load()
             throws java.sql.SQLException
Throws:
java.sql.SQLException

prepare

protected void prepare()
                throws java.lang.Exception
Throws:
java.lang.Exception

createResponse

protected java.lang.String createResponse()


Copyright © 2005-2010 eviware.com. All Rights Reserved.