|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.adapter.cci.ConnectionFactoryImpl
A simple, concrete implementation of the CCI ConnectionFactory interface. Provides basic logging support and resource adapter metadata. Adapter developers should not need to extend this class in most cases.
Field Summary | |
protected javax.resource.spi.ConnectionManager |
m_connectionManager
|
protected javax.resource.spi.ManagedConnectionFactory |
m_managedConnectionFactory
|
protected javax.naming.Reference |
m_reference
|
protected ResourceAdapterMetaDataImpl |
m_resourceAdapterMetaData
|
Constructor Summary | |
ConnectionFactoryImpl()
Default constructor |
|
ConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory connectionFactory,
javax.resource.spi.ConnectionManager connectionManager,
ResourceAdapterMetaDataImpl resourceAdapterMetaData,
LogContext logContext)
Constructs an instance to create EIS specific application component connection handles. |
Method Summary | |
javax.resource.cci.Connection |
getConnection()
Gets a connection to an EIS instance; used when a component requires the container to manage EIS sign-on, i.e. |
javax.resource.cci.Connection |
getConnection(javax.resource.cci.ConnectionSpec cspec)
Gets a connection to an EIS instance; used when a component manages EIS sign-on, i.e. |
LogContext |
getLogContext()
Retrieves an object that determines the logging configuration for this instance in the logging framework. |
ILogger |
getLogger()
Retrieves an object used to log information to. |
javax.resource.cci.ResourceAdapterMetaData |
getMetaData()
|
javax.resource.cci.RecordFactory |
getRecordFactory()
|
javax.naming.Reference |
getReference()
|
protected javax.resource.spi.ConnectionRequestInfo |
mapConnectionSpecToConnectionRequestInfo(javax.resource.cci.ConnectionSpec cspec)
This method gets invoked if the ConnectionSpec instance that is passed to the getConnection method is not a java.util.Map or a ConnectionRequestInfo. |
void |
setReference(javax.naming.Reference reference)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected javax.resource.spi.ManagedConnectionFactory m_managedConnectionFactory
protected javax.resource.spi.ConnectionManager m_connectionManager
protected javax.naming.Reference m_reference
protected ResourceAdapterMetaDataImpl m_resourceAdapterMetaData
Constructor Detail |
public ConnectionFactoryImpl()
public ConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory connectionFactory, javax.resource.spi.ConnectionManager connectionManager, ResourceAdapterMetaDataImpl resourceAdapterMetaData, LogContext logContext) throws javax.resource.ResourceException
managedConnectionFactory
- - instance is a factory of both Managed
connection and connection factory instancesconnectionManager
- - provides a hook for resource adapter to pass
a connection request to an application serverMethod Detail |
public javax.resource.cci.Connection getConnection() throws javax.resource.ResourceException
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec cspec) throws javax.resource.ResourceException
protected javax.resource.spi.ConnectionRequestInfo mapConnectionSpecToConnectionRequestInfo(javax.resource.cci.ConnectionSpec cspec) throws javax.resource.ResourceException
public LogContext getLogContext()
public ILogger getLogger()
public javax.resource.cci.ResourceAdapterMetaData getMetaData() throws javax.resource.ResourceException
public javax.naming.Reference getReference() throws javax.naming.NamingException
public void setReference(javax.naming.Reference reference)
public java.lang.String toString()
public javax.resource.cci.RecordFactory getRecordFactory() throws javax.resource.ResourceException
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |