public class ManagedQueueConnectionFactoryImpl extends ManagedConnectionFactoryImpl
ManagedQueueConnectionFactoryImpl
instance manages
PTP outbound connectivity to a given JORAM server.Modifier and Type | Field and Description |
---|---|
static Logger |
logger |
private static long |
serialVersionUID |
out, ra
asyncSend, MODE_PTP, MODE_PUBSUB, MODE_UNIFIED
Constructor and Description |
---|
ManagedQueueConnectionFactoryImpl()
Constructs a
ManagedQueueConnectionFactoryImpl instance. |
Modifier and Type | Method and Description |
---|---|
Object |
createConnectionFactory()
Method called in the non managed case for creating an
OutboundQueueConnectionFactory instance. |
Object |
createConnectionFactory(ConnectionManager cxManager)
Method called by an application server (managed case) for creating an
OutboundQueueConnectionFactory instance. |
protected XAConnectionFactory |
createFactory(ConnectionRequestInfo cxRequest) |
protected XAConnection |
createXAConnection(XAConnectionFactory factory,
String userName,
String password) |
boolean |
equals(Object o)
Compares managed factories according to their configuration.
|
int |
hashCode()
Returns a code depending on the managed factory configuration.
|
createManagedConnection, getInvalidConnections, getLogWriter, getResourceAdapter, matchManagedConnections, setLogWriter, setResourceAdapter
getAsyncSend, getCnxPendingTimer, getConnectingTimer, getHostName, getIdentityClass, getMode, getMultiThreadSync, getMultiThreadSyncDelay, getName, getOutLocalAddress, getOutLocalPort, getPassword, getServerPort, getTxPendingTimer, getUserName, isAsyncSend, isCollocated, isMultiThreadSync, setAsyncSend, setCnxPendingTimer, setCollocated, setConnectingTimer, setHostName, setIdentityClass, setInInterceptors, setManagedConnectionFactoryConfig, setMode, setMultiThreadSync, setMultiThreadSyncDelay, setName, setOutInterceptors, setOutLocalAddress, setOutLocalPort, setParameters, setPassword, setServerPort, setTxPendingTimer, setUserName
private static final long serialVersionUID
public static Logger logger
public ManagedQueueConnectionFactoryImpl()
ManagedQueueConnectionFactoryImpl
instance.public Object createConnectionFactory(ConnectionManager cxManager) throws ResourceException
OutboundQueueConnectionFactory
instance.createConnectionFactory
in interface ManagedConnectionFactory
createConnectionFactory
in class ManagedConnectionFactoryImpl
cxManager
- Application server's connections pooling manager.ResourceException
- Never thrown.public Object createConnectionFactory() throws ResourceException
OutboundQueueConnectionFactory
instance.createConnectionFactory
in interface ManagedConnectionFactory
createConnectionFactory
in class ManagedConnectionFactoryImpl
ResourceException
- Never thrown.protected XAConnectionFactory createFactory(ConnectionRequestInfo cxRequest) throws ResourceException
createFactory
in class ManagedConnectionFactoryImpl
ResourceException
protected XAConnection createXAConnection(XAConnectionFactory factory, String userName, String password) throws ResourceException
createXAConnection
in class ManagedConnectionFactoryImpl
ResourceException
public int hashCode()
hashCode
in interface ManagedConnectionFactory
hashCode
in class ManagedConnectionFactoryImpl
public boolean equals(Object o)
equals
in interface ManagedConnectionFactory
equals
in class ManagedConnectionFactoryImpl
Copyright © 2022 ScalAgent D.T.. All rights reserved.