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, reliableClassrand| Constructor and Description |
|---|
LocalConnectionFactory()
Constructs a
LocalConnectionFactory instance. |
| Modifier and Type | Method and Description |
|---|---|
static LocalConnectionFactory |
create()
Administration method creating a
ConnectionFactory
instance for creating local in-VM connections. |
protected RequestChannel |
createRequestChannel(FactoryParameters params,
org.objectweb.joram.shared.security.Identity identity,
String reliableClass)
Creates the
LocalRequestChannel object needed to connect to the
colocated server. |
toStringcreateConnection, 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, toReferencegetReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateXAQueueConnection, createXAQueueConnectioncreateQueueConnection, createQueueConnectioncreateXATopicConnection, createXATopicConnectioncreateXAConnection, createXAConnection, createXAContext, createXAContextprivate static final long serialVersionUID
public LocalConnectionFactory()
LocalConnectionFactory instance.
Should only be used for internal purposes.protected RequestChannel createRequestChannel(FactoryParameters params, org.objectweb.joram.shared.security.Identity identity, String reliableClass) throws jakarta.jms.JMSException
LocalRequestChannel object needed to connect to the
colocated server.createRequestChannel in class AbstractConnectionFactoryparams - Connection configuration parameters.identity - Client's identity.reliableClass - The protocol specific class.RequestChannel object specific to the protocol used.jakarta.jms.JMSException - A problem occurs during the connection.AbstractConnectionFactory.createRequestChannel(FactoryParameters, Identity, String)public static LocalConnectionFactory create()
ConnectionFactory
instance for creating local in-VM connections.Copyright © 2023 ScalAgent D.T.. All rights reserved.