Class LocalConnectionFactory
- java.lang.Object
-
- org.objectweb.joram.client.jms.admin.AdministeredObject
-
- org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
-
- org.objectweb.joram.client.jms.ConnectionFactory
-
- org.objectweb.joram.client.jms.local.LocalConnectionFactory
-
- All Implemented Interfaces:
Serializable,ConnectionFactory,QueueConnectionFactory,TopicConnectionFactory,XAConnectionFactory,XAQueueConnectionFactory,XATopicConnectionFactory,Referenceable
public class LocalConnectionFactory extends ConnectionFactory
ALocalConnectionFactoryinstance is a factory of local connections. The created ConnectionFactory can be configured using theFactoryParameters.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDdefine serialVersionUID for interoperability-
Fields inherited from class org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
identity, identityClassName, params, reliableClass
-
Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
rand
-
-
Constructor Summary
Constructors Constructor Description LocalConnectionFactory()Constructs aLocalConnectionFactoryinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocalConnectionFactorycreate()Administration method creating aConnectionFactoryinstance for creating local in-VM connections.protected RequestChannelcreateRequestChannel(FactoryParameters params, org.objectweb.joram.shared.security.Identity identity, String reliableClass)Creates theLocalRequestChannelobject needed to connect to the colocated server.-
Methods inherited from class org.objectweb.joram.client.jms.ConnectionFactory
toString
-
Methods inherited from class org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
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
-
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
getReference
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection, createContext, createContext, createContext, createContext
-
Methods inherited from interface javax.jms.QueueConnectionFactory
createQueueConnection, createQueueConnection
-
Methods inherited from interface javax.jms.TopicConnectionFactory
createTopicConnection, createTopicConnection
-
Methods inherited from interface javax.jms.XAConnectionFactory
createXAConnection, createXAConnection, createXAContext, createXAContext
-
Methods inherited from interface javax.jms.XAQueueConnectionFactory
createXAQueueConnection, createXAQueueConnection
-
Methods inherited from interface javax.jms.XATopicConnectionFactory
createXATopicConnection, createXATopicConnection
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
define serialVersionUID for interoperability- See Also:
- Constant Field Values
-
-
Method Detail
-
createRequestChannel
protected RequestChannel createRequestChannel(FactoryParameters params, org.objectweb.joram.shared.security.Identity identity, String reliableClass) throws JMSException
Creates theLocalRequestChannelobject needed to connect to the colocated server.- Specified by:
createRequestChannelin classAbstractConnectionFactory- Parameters:
params- Connection configuration parameters.identity- Client's identity.reliableClass- The protocol specific class.- Returns:
- The
RequestChannelobject specific to the protocol used. - Throws:
JMSException- A problem occurs during the connection.- See Also:
AbstractConnectionFactory.createRequestChannel(FactoryParameters, Identity, String)
-
create
public static LocalConnectionFactory create()
Administration method creating aConnectionFactoryinstance for creating local in-VM connections.
-
-