|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.samples.business.sna.lu0.DummyLu0ConnectionFactory
Application level handle to the Managed Connection Factory, returned from the JNDI lookup and used to obtain connections.
Constructor Summary | |
---|---|
DummyLu0ConnectionFactory()
DummyLu0ConnectionFactory default constructor |
|
DummyLu0ConnectionFactory(javax.resource.spi.ConnectionManager connectionManager,
DummyLu0ManagedConnectionFactory lu0ManagedConnectionFactory)
DummyLu0ConnectionFactory default constructor |
Method Summary | |
---|---|
javax.resource.cci.Connection |
getConnection()
Returns a connection to an EIS instance |
javax.resource.cci.Connection |
getConnection(javax.resource.cci.ConnectionSpec connectionSpec)
Returns a connection to an EIS instance |
(package private) javax.resource.spi.ConnectionManager |
getConnectionManager()
Returns the ConnectionManager instance. |
java.io.PrintWriter |
getLogWriter()
|
(package private) javax.resource.spi.ManagedConnectionFactory |
getManagedConnectionFactory()
|
javax.resource.cci.ResourceAdapterMetaData |
getMetaData()
Returns metadata for the Resource Adapter. |
javax.resource.cci.RecordFactory |
getRecordFactory()
|
javax.naming.Reference |
getReference()
|
(package private) void |
setConnectionManager(javax.resource.spi.ConnectionManager connectionManager)
Sets the ConnectionManager instance. |
(package private) void |
setLogWriter(java.io.PrintWriter out)
Sets the log writer for the ConnectionFactory instance. |
(package private) void |
setManagedConnectionFactory(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory)
Sets the ManagedConnectionFactory instance. |
void |
setReference(javax.naming.Reference reference)
Sets the Reference instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DummyLu0ConnectionFactory()
public DummyLu0ConnectionFactory(javax.resource.spi.ConnectionManager connectionManager, DummyLu0ManagedConnectionFactory lu0ManagedConnectionFactory)
connectionManager
- javax.resource.spi.ConnectionManagerlu0ManagedConnectionFactory
- com.ibm.btt.samples.business.sna.lu0.DummyLu0ManagedConnectionFactoryMethod Detail |
public javax.resource.cci.Connection getConnection() throws javax.resource.ResourceException
getConnection
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec connectionSpec) throws javax.resource.ResourceException
getConnection
in interface javax.resource.cci.ConnectionFactory
connectionSpec
- javax.resource.cci.ConnectionSpec
javax.resource.ResourceException
public java.io.PrintWriter getLogWriter()
javax.resource.spi.ManagedConnectionFactory getManagedConnectionFactory()
public javax.resource.cci.ResourceAdapterMetaData getMetaData()
getMetaData
in interface javax.resource.cci.ConnectionFactory
public javax.resource.cci.RecordFactory getRecordFactory() throws javax.resource.ResourceException
getRecordFactory
in interface javax.resource.cci.ConnectionFactory
javax.resource.NotSupportedException
javax.resource.ResourceException
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
void setConnectionManager(javax.resource.spi.ConnectionManager connectionManager)
connectionManager
- javax.resource.spi.ConnectionManager instancevoid setLogWriter(java.io.PrintWriter out)
out
- Log writer associated with the ConnectionFactoryvoid setManagedConnectionFactory(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory)
managedConnectionFactory
- javax.resource.spi.ManagedConnectionFactorypublic void setReference(javax.naming.Reference reference)
setReference
in interface javax.resource.Referenceable
reference
- javax.naming.Referencejavax.resource.spi.ConnectionManager getConnectionManager()
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |