|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.jca.adapter.TestConnection
TestConnection.java Created: Sun Mar 10 19:35:48 2002
| Constructor Summary | |
TestConnection(TestManagedConnection (src) mc)
|
|
| Method Summary | |
void |
close()
Closes a connection |
Interaction (src) |
createInteraction()
Creates a new interaction associated with this connection. |
void |
fireConnectionError()
|
LocalTransaction (src) |
getLocalTransaction()
Gets a LocalTransaction object which allows the client to manage local transactions for the connection. |
TestManagedConnection (src) |
getMC()
|
ConnectionMetaData (src) |
getMetaData()
Gets meta data for the underlying resource represented by this connection. |
ResultSetInfo (src) |
getResultSetInfo()
Gets information on ResultSet functionality supported by the underlying resource for the connection. |
boolean |
isInTx()
|
void |
setFailInCommit(boolean fail,
int xaCode)
|
void |
setFailInPrepare(boolean fail,
int xaCode)
|
void |
simulateConnectionError()
Similate a connection error |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestConnection(TestManagedConnection (src) mc)
| Method Detail |
public void setFailInPrepare(boolean fail,
int xaCode)
public void setFailInCommit(boolean fail,
int xaCode)
public void fireConnectionError()
public boolean isInTx()
public void close()
Connection (src)
close in interface Connection (src) ResourceException (src) - public TestManagedConnection (src) getMC()
public Interaction (src) createInteraction()
throws ResourceException (src)
Connection (src)
createInteraction in interface Connection (src) ResourceException (src) -
public LocalTransaction (src) getLocalTransaction()
throws ResourceException (src)
Connection (src)
getLocalTransaction in interface Connection (src) ResourceException (src) -
public ConnectionMetaData (src) getMetaData()
throws ResourceException (src)
Connection (src)
getMetaData in interface Connection (src) ResourceException (src) -
public ResultSetInfo (src) getResultSetInfo()
throws ResourceException (src)
Connection (src)
getResultSetInfo in interface Connection (src) ResourceException (src) -
public void simulateConnectionError()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||