javax.jms
Interface ConnectionFactory

All Known Subinterfaces:
QueueConnectionFactory, TopicConnectionFactory, XAQueueConnectionFactory, XATopicConnectionFactory
All Known Implementing Classes:
ConnectionFactoryImpl, ConnectionFactoryImpl, JmsConnectionFactory, JVMQueueConnectionFactory, JVMTopicConnectionFactory, XAConnectionFactoryImpl

public interface ConnectionFactory

The connection factory.


Method Summary
 Connection createConnection()
           
 Connection createConnection(java.lang.String userName, java.lang.String password)
           
 

Method Detail

createConnection

Connection createConnection()
                            throws JMSException
Throws:
JMSException

createConnection

Connection createConnection(java.lang.String userName,
                            java.lang.String password)
                            throws JMSException
Throws:
JMSException