public interface ConnectionFactory extends java.io.Serializable, Referenceable
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Returns an application connection.
|
Connection |
getConnection(ConnectionSpec properties)
Gets a connection with given properties.
|
ResourceAdapterMetaData |
getMetaData()
Returns the metadata for the resource adapter.
|
RecordFactory |
getRecordFactory()
Return a RecordFactory which creates generic Record instances.
|
setReference
Connection getConnection() throws ResourceException
ResourceException
Connection getConnection(ConnectionSpec properties) throws ResourceException
properties
- the properties of the connectionResourceException
RecordFactory getRecordFactory() throws ResourceException
ResourceException
ResourceAdapterMetaData getMetaData() throws ResourceException
ResourceException