public class WmConnectionFactory
extends java.lang.Object
implements javax.resource.cci.ConnectionFactory
WmManagedConnectionFactory
,
WmConnection
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected javax.resource.spi.ConnectionManager |
_connectionManager |
protected javax.naming.Reference |
_factoryReference |
protected WmManagedConnectionFactory |
_managedConnectionFactory |
Constructor and Description |
---|
WmConnectionFactory()
Creates an un-initialized ConnectionFactory instance.
|
Modifier and Type | Method and Description |
---|---|
javax.resource.cci.Connection |
getConnection() |
javax.resource.cci.Connection |
getConnection(javax.resource.cci.ConnectionSpec connectionSpec) |
javax.resource.spi.ConnectionManager |
getConnectionManager()
Get the ConnectionManager that this factory will interact with to obtain connection resources.
|
javax.resource.spi.ConnectionRequestInfo |
getConnectionRequestInfo(javax.resource.cci.ConnectionSpec connectionSpec)
//Implementation specific
|
javax.resource.spi.ManagedConnectionFactory |
getManagedConnectionFactory()
Returns the ManagedConnectionFactory associated with this CCI connection factory.
|
javax.resource.cci.ResourceAdapterMetaData |
getMetaData()
Get the AdapterType's MetaData related to this connection factory
|
javax.resource.cci.RecordFactory |
getRecordFactory()
Returns the RecordFactory instance to generate records for this adapter
|
javax.naming.Reference |
getReference() |
void |
setConnectionManager(javax.resource.spi.ConnectionManager cmgr)
Set the ConnectionManager that this factory will interact with.
|
void |
setManagedConnectionFactory(WmManagedConnectionFactory mcf)
Set the ManagedConnectionFactory associated with this CCI connection factory.
|
void |
setReference(javax.naming.Reference ref)
Implement javax.resource.Referenceable
|
protected javax.resource.spi.ConnectionManager _connectionManager
protected javax.naming.Reference _factoryReference
protected WmManagedConnectionFactory _managedConnectionFactory
public WmConnectionFactory()
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
javax.resource.ResourceException
public javax.resource.spi.ConnectionManager getConnectionManager()
public javax.resource.spi.ConnectionRequestInfo getConnectionRequestInfo(javax.resource.cci.ConnectionSpec connectionSpec)
public javax.resource.spi.ManagedConnectionFactory getManagedConnectionFactory()
public javax.resource.cci.ResourceAdapterMetaData getMetaData() throws javax.resource.ResourceException
getMetaData
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
public javax.resource.cci.RecordFactory getRecordFactory()
getRecordFactory
in interface javax.resource.cci.ConnectionFactory
public javax.naming.Reference getReference()
getReference
in interface javax.naming.Referenceable
public void setConnectionManager(javax.resource.spi.ConnectionManager cmgr)
ConnectionManager
- JCA ConnectionManager instance.getConnectionManager()
public void setManagedConnectionFactory(WmManagedConnectionFactory mcf)
WmManagedConnectionFactory
- Managed Connection Factory instance associated.getManagedConnectionFactory()
public void setReference(javax.naming.Reference ref)
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.