javax.resource.cci

Interface ConnectionFactory

All Superinterfaces:
javax.naming.Referenceable, Serializable, Referenceable

public interface ConnectionFactory
extends Serializable, Referenceable

Method Summary

Connection
getConnection()
Connection
getConnection(ConnectionSpec properties)
ResourceAdapterMetaData
getMetaData()
RecordFactory
getRecordFactory()

Methods inherited from interface javax.resource.Referenceable

setReference

Method Details

getConnection

public Connection getConnection()
            throws ResourceException

getConnection

public Connection getConnection(ConnectionSpec properties)
            throws ResourceException

getMetaData

public ResourceAdapterMetaData getMetaData()
            throws ResourceException

getRecordFactory

public RecordFactory getRecordFactory()
            throws ResourceException