org.jboss.resource.adapter.jms
Class JmsConnectionFactoryImpl

java.lang.Object
  extended by org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl
All Implemented Interfaces:
Serializable, javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, Referenceable, JmsConnectionFactory

public class JmsConnectionFactoryImpl
extends Object
implements JmsConnectionFactory, javax.resource.Referenceable

The the connection factory implementation for the JMS RA.

This object will be the QueueConnectionFactory or TopicConnectionFactory which clients will use to create connections.

Version:
$Revision: 1.9.6.4 $
Author:
Peter Antman., Jason Dillon, Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.jboss.resource.adapter.jms.JmsConnectionFactory
BOTH, QUEUE, TOPIC
 
Constructor Summary
JmsConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionManager cm)
           
 
Method Summary
 javax.jms.Connection createConnection()
           
 javax.jms.Connection createConnection(String userName, String password)
           
 javax.jms.QueueConnection createQueueConnection()
           
 javax.jms.QueueConnection createQueueConnection(String userName, String password)
           
 javax.jms.TopicConnection createTopicConnection()
           
 javax.jms.TopicConnection createTopicConnection(String userName, String password)
           
 Reference getReference()
           
 void setReference(Reference reference)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsConnectionFactoryImpl

public JmsConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf,
                                javax.resource.spi.ConnectionManager cm)
Method Detail

setReference

public void setReference(Reference reference)

getReference

public Reference getReference()
Specified by:
getReference in interface Referenceable

createQueueConnection

public javax.jms.QueueConnection createQueueConnection()
                                                throws javax.jms.JMSException
Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
javax.jms.JMSException

createQueueConnection

public javax.jms.QueueConnection createQueueConnection(String userName,
                                                       String password)
                                                throws javax.jms.JMSException
Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
javax.jms.JMSException

createTopicConnection

public javax.jms.TopicConnection createTopicConnection()
                                                throws javax.jms.JMSException
Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
Throws:
javax.jms.JMSException

createTopicConnection

public javax.jms.TopicConnection createTopicConnection(String userName,
                                                       String password)
                                                throws javax.jms.JMSException
Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
Throws:
javax.jms.JMSException

createConnection

public javax.jms.Connection createConnection()
                                      throws javax.jms.JMSException
Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
javax.jms.JMSException

createConnection

public javax.jms.Connection createConnection(String userName,
                                             String password)
                                      throws javax.jms.JMSException
Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
javax.jms.JMSException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.