public interface ConnectionFactory extends Serializable, Referenceable
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Gets a connection from the resource adapter.
|
Connection |
getConnection(ConnectionSpec properties)
Gets a connection from the resource adapter.
|
ResourceAdapterMetaData |
getMetaData()
Gets metadata for the resource adapter.
|
RecordFactory |
getRecordFactory()
Gets a RecordFactory instance for use in creating Record objects.
|
setReference
getReference
Connection getConnection() throws ResourceException
ResourceException
Connection getConnection(ConnectionSpec properties) throws ResourceException
ResourceException
RecordFactory getRecordFactory() throws ResourceException
ResourceException
ResourceAdapterMetaData getMetaData() throws ResourceException
ResourceException
Copyright © 2013 JBoss by Red Hat. All rights reserved.