com.bankframe.jca.samplefileadapter
Class SampleConnection

java.lang.Object
  extended bycom.bankframe.jca.samplefileadapter.SampleConnection
All Implemented Interfaces:
javax.resource.cci.Connection

public class SampleConnection
extends java.lang.Object
implements javax.resource.cci.Connection


Constructor Summary
SampleConnection()
           
 
Method Summary
 void ammendCustomer(java.lang.String Id)
           
 void close()
           
 javax.resource.cci.Interaction createInteraction()
           
 java.util.Vector findAll()
           
 java.util.Vector findByCustomerID(java.lang.String id)
           
 java.util.Vector findByLastName(java.lang.String lastName)
           
 boolean getAutoCommit()
           
 javax.resource.cci.LocalTransaction getLocalTransaction()
           
 javax.resource.cci.ConnectionMetaData getMetaData()
           
 javax.resource.cci.ResultSetInfo getResultSetInfo()
           
 java.util.Vector match(java.lang.String key, java.lang.String value)
           
 void setAutoCommit(boolean arg0)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleConnection

public SampleConnection()
Method Detail

findAll

public java.util.Vector findAll()
See Also:
TestCustomerDataConnection.findAll()

findByLastName

public java.util.Vector findByLastName(java.lang.String lastName)
See Also:
TestCustomerDataConnection.findByLastName(java.lang.String)

findByCustomerID

public java.util.Vector findByCustomerID(java.lang.String id)
See Also:
TestCustomerDataConnection.findByCustomerID(java.lang.String)

ammendCustomer

public void ammendCustomer(java.lang.String Id)
See Also:
com.bankframe.jca.samplefileadapter.TestCustomerDataConnection#ammedCustomer(java.lang.String)

match

public java.util.Vector match(java.lang.String key,
                              java.lang.String value)

createInteraction

public javax.resource.cci.Interaction createInteraction()
                                                 throws javax.resource.ResourceException
Specified by:
createInteraction in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException
See Also:
Connection.createInteraction()

getLocalTransaction

public javax.resource.cci.LocalTransaction getLocalTransaction()
                                                        throws javax.resource.ResourceException
Specified by:
getLocalTransaction in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException
See Also:
Connection.getLocalTransaction()

getMetaData

public javax.resource.cci.ConnectionMetaData getMetaData()
                                                  throws javax.resource.ResourceException
Specified by:
getMetaData in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException
See Also:
Connection.getMetaData()

getResultSetInfo

public javax.resource.cci.ResultSetInfo getResultSetInfo()
                                                  throws javax.resource.ResourceException
Specified by:
getResultSetInfo in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException
See Also:
Connection.getResultSetInfo()

close

public void close()
           throws javax.resource.ResourceException
Specified by:
close in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException
See Also:
Connection.close()

getAutoCommit

public boolean getAutoCommit()

setAutoCommit

public void setAutoCommit(boolean arg0)
                   throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException
See Also:
javax.resource.cci.Connection#setAutoCommit(boolean)


Copyright © 2005, 2007, Oracle. All rights reserved.