org.sourceforge.bdbadapter.cci
Class InteractionImpl
java.lang.Object
|
+--org.sourceforge.bdbadapter.cci.InteractionImpl
- All Implemented Interfaces:
- javax.resource.cci.Interaction
- public class InteractionImpl
- extends java.lang.Object
- implements javax.resource.cci.Interaction
Method Summary |
private void |
checkIfValid()
|
void |
clearWarnings()
|
void |
close()
|
private javax.resource.cci.Record |
exec(javax.resource.cci.MappedRecord inputP,
javax.resource.cci.MappedRecord outputP)
|
javax.resource.cci.Record |
execute(javax.resource.cci.InteractionSpec ispecP,
javax.resource.cci.Record inputP)
|
boolean |
execute(javax.resource.cci.InteractionSpec ispec,
javax.resource.cci.Record input,
javax.resource.cci.Record output)
|
javax.resource.cci.Connection |
getConnection()
|
javax.resource.cci.ResourceWarning |
getWarnings()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
con
private ConnectionImpl con
keyDbt
private com.sleepycat.db.Dbt keyDbt
payloadDbt
private com.sleepycat.db.Dbt payloadDbt
inputStream
private java.io.InputStream inputStream
outputStream
private java.io.OutputStream outputStream
txn
private com.sleepycat.db.DbTxn txn
functionName
private java.lang.String functionName
InteractionImpl
public InteractionImpl(ConnectionImpl con)
getConnection
public javax.resource.cci.Connection getConnection()
- Specified by:
getConnection
in interface javax.resource.cci.Interaction
close
public void close()
throws javax.resource.ResourceException
- Specified by:
close
in interface javax.resource.cci.Interaction
execute
public boolean execute(javax.resource.cci.InteractionSpec ispec,
javax.resource.cci.Record input,
javax.resource.cci.Record output)
throws javax.resource.ResourceException
- Specified by:
execute
in interface javax.resource.cci.Interaction
execute
public javax.resource.cci.Record execute(javax.resource.cci.InteractionSpec ispecP,
javax.resource.cci.Record inputP)
throws javax.resource.ResourceException
- Specified by:
execute
in interface javax.resource.cci.Interaction
getWarnings
public javax.resource.cci.ResourceWarning getWarnings()
throws javax.resource.ResourceException
- Specified by:
getWarnings
in interface javax.resource.cci.Interaction
clearWarnings
public void clearWarnings()
throws javax.resource.ResourceException
- Specified by:
clearWarnings
in interface javax.resource.cci.Interaction
checkIfValid
private void checkIfValid()
throws javax.resource.ResourceException
exec
private javax.resource.cci.Record exec(javax.resource.cci.MappedRecord inputP,
javax.resource.cci.MappedRecord outputP)