|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ConnectionFactory provides an interface for getting a Connection from the Resource adapter. The application retrieves a reference to the ConnectionFactory through a JNDI lookup. ConnectionFactory extends java.io.Serializable and javax.resource.Referenceable in order to support JNDI lookup.
Method Summary | |
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. |
Methods inherited from interface javax.resource.Referenceable |
setReference |
Methods inherited from interface javax.naming.Referenceable |
getReference |
Method Detail |
public Connection getConnection() throws ResourceException
ResourceException
public Connection getConnection(ConnectionSpec properties) throws ResourceException
ResourceException
public RecordFactory getRecordFactory() throws ResourceException
ResourceException
public ResourceAdapterMetaData getMetaData() throws ResourceException
ResourceException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |