com.bankframe.jca.samplefileadapter
Class SampleConnectionFactory

java.lang.Object
  extended bycom.bankframe.jca.samplefileadapter.SampleConnectionFactory
All Implemented Interfaces:
javax.resource.cci.ConnectionFactory, javax.naming.Referenceable, javax.resource.Referenceable, java.io.Serializable

public class SampleConnectionFactory
extends java.lang.Object
implements javax.resource.cci.ConnectionFactory

See Also:
Serialized Form

Constructor Summary
SampleConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionManager cm)
           
 
Method Summary
 javax.resource.cci.Connection getConnection()
           
 javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec spec)
           
 javax.resource.cci.ResourceAdapterMetaData getMetaData()
           
 javax.resource.cci.RecordFactory getRecordFactory()
           
 javax.naming.Reference getReference()
           
 void setReference(javax.naming.Reference ref)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleConnectionFactory

public SampleConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf,
                               javax.resource.spi.ConnectionManager cm)
Parameters:
mcf -
cm -
Method Detail

getConnection

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

getConnection

public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec spec)
Specified by:
getConnection in interface javax.resource.cci.ConnectionFactory
See Also:
ConnectionFactory.getConnection(ConnectionSpec)

getReference

public javax.naming.Reference getReference()
Specified by:
getReference in interface javax.naming.Referenceable
See Also:
Referenceable.getReference()

setReference

public void setReference(javax.naming.Reference ref)
Specified by:
setReference in interface javax.resource.Referenceable
See Also:
Referenceable.setReference(Reference)

getMetaData

public javax.resource.cci.ResourceAdapterMetaData getMetaData()
Specified by:
getMetaData in interface javax.resource.cci.ConnectionFactory
See Also:
ConnectionFactory.getMetaData()

getRecordFactory

public javax.resource.cci.RecordFactory getRecordFactory()
Specified by:
getRecordFactory in interface javax.resource.cci.ConnectionFactory
See Also:
ConnectionFactory.getRecordFactory()


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