package com.ubermq.jms.client.impl;
/**
* A convenience implementation for a connection factory
* that does not need to distinguish between topic and queue
* connections, and does not use username and password information.
* <P>
*
* All method calls are delegated to the <code>createConnection</code> method.<P>
*/
public abstract class AbstractConnectionFactory
implements javax.jms.ConnectionFactory,
javax.jms.TopicConnectionFactory,
javax.jms.QueueConnectionFactory
{
public javax.jms.TopicConnection createTopicConnection(String p0, String p1) throws javax.jms.JMSException
{
return (javax.jms.TopicConnection)createConnection();
}
public javax.jms.TopicConnection createTopicConnection() throws javax.jms.JMSException
{
return (javax.jms.TopicConnection)createConnection();
}
public javax.jms.QueueConnection createQueueConnection(String p0, String p1) throws javax.jms.JMSException
{
return (javax.jms.QueueConnection)createConnection();
}
public javax.jms.QueueConnection createQueueConnection() throws javax.jms.JMSException
{
return (javax.jms.QueueConnection)createConnection();
}
public javax.jms.Connection createConnection(String p0, String p1) throws javax.jms.JMSException
{
return createConnection();
}
}
|