com.bankframe.jca.samplefileadapter
Class SampleConnection

java.lang.Object
  extended by com.bankframe.jca.samplefileadapter.SampleConnection
All Implemented Interfaces:
Connection

public class SampleConnection
extends Object
implements Connection


Constructor Summary
SampleConnection()
           
 
Method Summary
 void ammendCustomer(String Id)
           
 void close()
           
 Interaction createInteraction()
           
 Vector findAll()
           
 Vector findByCustomerID(String id)
           
 Vector findByLastName(String lastName)
           
 boolean getAutoCommit()
           
 LocalTransaction getLocalTransaction()
           
 ConnectionMetaData getMetaData()
           
 ResultSetInfo getResultSetInfo()
           
 Vector match(String key, 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 Vector findAll()
See Also:
TestCustomerDataConnection.findAll()

findByLastName

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

findByCustomerID

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

ammendCustomer

public void ammendCustomer(String Id)
See Also:
TestCustomerDataConnection.ammendCustomer(java.lang.String)

match

public Vector match(String key,
                    String value)

createInteraction

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

getLocalTransaction

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

getMetaData

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

getResultSetInfo

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

close

public void close()
           throws ResourceException
Specified by:
close in interface Connection
Throws:
ResourceException

getAutoCommit

public boolean getAutoCommit()

setAutoCommit

public void setAutoCommit(boolean arg0)
                   throws ResourceException
Throws:
ResourceException


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