|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.j2ca.base.WBIConnectionFactory
A ConnectionFactory enables a client to request handles to the underlying EIS connection.
Constructor Summary | |
---|---|
WBIConnectionFactory(javax.resource.spi.ConnectionManager connMgr,
WBIManagedConnectionFactory mcf)
|
Method Summary | |
---|---|
javax.resource.cci.Connection |
getConnection()
Returns a new connection handle to the underlying EIS. |
javax.resource.cci.Connection |
getConnection(javax.resource.cci.ConnectionSpec connectionSpec)
Returns a new connection handle to the underlying EIS; this handle will match the connection properties specified in connectionSpec |
LogUtils |
getLogUtils()
|
javax.resource.spi.ManagedConnectionFactory |
getManagedConnectionFactory()
Returns the underlying managed connection factory associated with this factory. |
javax.resource.cci.ResourceAdapterMetaData |
getMetaData()
Returns metadata about the capabilities and version of the resource adapter. |
javax.resource.cci.RecordFactory |
getRecordFactory()
Not supported. |
javax.naming.Reference |
getReference()
Part of support for JNDI lookup. |
protected void |
setLogUtils(LogUtils utils)
|
void |
setReference(javax.naming.Reference reference)
Part of support for JNDI lookup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WBIConnectionFactory(javax.resource.spi.ConnectionManager connMgr, WBIManagedConnectionFactory mcf)
Method Detail |
public javax.resource.cci.Connection getConnection() throws javax.resource.ResourceException
getConnection
in interface javax.resource.cci.ConnectionFactory
WBIConnection
instance
javax.resource.ResourceException
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec connectionSpec) throws javax.resource.ResourceException
connectionSpec
getConnection
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
public javax.resource.cci.RecordFactory getRecordFactory() throws javax.resource.ResourceException
AdapterBOUtil.createBusinessObject(java.lang.String, java.lang.String)
to create business objects instead.
getRecordFactory
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
public javax.resource.cci.ResourceAdapterMetaData getMetaData() throws javax.resource.ResourceException
WBIConnection.getMetaData()
.
Note: this method does not require an active connection to the EIS instance be establsihed.
getMetaData
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
- if unable to retrieve metadata for the resource adapterpublic javax.resource.spi.ManagedConnectionFactory getManagedConnectionFactory()
public void setReference(javax.naming.Reference reference)
setReference
in interface javax.resource.Referenceable
Referenceable
public javax.naming.Reference getReference()
getReference
in interface javax.naming.Referenceable
Referenceable
protected void setLogUtils(LogUtils utils)
public LogUtils getLogUtils()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |