org.objectweb.joram.client.jms.local
Class LocalConnectionFactory

java.lang.Object
  extended byorg.objectweb.joram.client.jms.admin.AdministeredObject
      extended byorg.objectweb.joram.client.jms.ConnectionFactory
          extended byorg.objectweb.joram.client.jms.local.LocalConnectionFactory
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.naming.Referenceable, java.io.Serializable, SoapObjectItf

public class LocalConnectionFactory
extends ConnectionFactory

A LocalConnectionFactory instance is a factory of local connections.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.client.jms.ConnectionFactory
params
 
Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
id, instancesTable
 
Constructor Summary
LocalConnectionFactory()
          Constructs a QueueLocalConnectionFactory instance.
 
Method Summary
static javax.jms.ConnectionFactory create()
          Admin method creating a javax.jms.ConnectionFactory instance for creating local connections.
 javax.jms.Connection createConnection(java.lang.String name, java.lang.String password)
          Method inherited from the ConnectionFactory class.
 
Methods inherited from class org.objectweb.joram.client.jms.ConnectionFactory
code, createConnection, decode, getDefaultLogin, getDefaultPassword, getParameters, getReference, toString
 
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalConnectionFactory

public LocalConnectionFactory()
Constructs a QueueLocalConnectionFactory instance.

Method Detail

createConnection

public javax.jms.Connection createConnection(java.lang.String name,
                                             java.lang.String password)
                                      throws javax.jms.JMSException
Method inherited from the ConnectionFactory class.

Specified by:
createConnection in interface javax.jms.ConnectionFactory
Specified by:
createConnection in class ConnectionFactory
Throws:
JMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException

create

public static javax.jms.ConnectionFactory create()
Admin method creating a javax.jms.ConnectionFactory instance for creating local connections.



Copyright ? 2004 Scalagent - All rights reserved