public class LocalConnectionFactory extends ConnectionFactory
LocalConnectionFactory
instance is a factory of local connections.
The created ConnectionFactory can be configured using theFactoryParameters.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
define serialVersionUID for interoperability
|
identity, identityClassName, params, reliableClass
Constructor and Description |
---|
LocalConnectionFactory()
Constructs a
LocalConnectionFactory instance. |
Modifier and Type | Method and Description |
---|---|
static ConnectionFactory |
create()
Administration method creating a
ConnectionFactory
instance for creating local in-VM connections. |
protected RequestChannel |
createRequestChannel(FactoryParameters params,
Identity identity,
String reliableClass)
Creates the
LocalRequestChannel object needed to connect to the
colocated server. |
toString
createConnection, createConnection, createContext, createContext, createContext, createContext, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, createXAConnection, createXAConnection, createXAContext, createXAContext, createXAQueueConnection, createXAQueueConnection, createXATopicConnection, createXATopicConnection, fromReference, fromReference, getDefaultLogin, getDefaultPassword, getDefaultRootLogin, getDefaultRootPassword, getDefaultServerHost, getDefaultServerPort, getParameters, initIdentity, setCnxJMXBeanBaseName, setIdentityClassName, setReliableClass, toReference, toReference
getReference
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createXAQueueConnection, createXAQueueConnection
createQueueConnection, createQueueConnection
createXATopicConnection, createXATopicConnection
createXAConnection, createXAConnection
private static final long serialVersionUID
public LocalConnectionFactory()
LocalConnectionFactory
instance.
Should only be used for internal purposes.protected RequestChannel createRequestChannel(FactoryParameters params, Identity identity, String reliableClass) throws javax.jms.JMSException
LocalRequestChannel
object needed to connect to the
colocated server.createRequestChannel
in class AbstractConnectionFactory
params
- Connection configuration parameters.identity
- Client's identity.reliableClass
- The protocol specific class.RequestChannel
object specific to the protocol used.javax.jms.JMSException
- A problem occurs during the connection.AbstractConnectionFactory.createRequestChannel(FactoryParameters, Identity, String)
public static ConnectionFactory create()
ConnectionFactory
instance for creating local in-VM connections.Copyright © 2018 ScalAgent D.T.. All Rights Reserved.