The the connection factory implementation for the JMS RA.
This object will be the QueueConnectionFactory or TopicConnectionFactory
which clients will use to create connections.
| Method from org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl Detail: |
public Connection createConnection() throws JMSException {
Connection c = new JmsSessionFactoryImpl(mcf, cm, BOTH);
if (log.isTraceEnabled())
log.trace("Created connection: " + c);
return c;
}
|
public Connection createConnection(String userName,
String password) throws JMSException {
JmsSessionFactoryImpl s = new JmsSessionFactoryImpl(mcf, cm, BOTH);
s.setUserName(userName);
s.setPassword(password);
if (log.isTraceEnabled())
log.trace("Created connection: " + s);
return s;
}
|
public QueueConnection createQueueConnection() throws JMSException {
QueueConnection qc = new JmsSessionFactoryImpl(mcf, cm, QUEUE);
if (log.isTraceEnabled())
log.trace("Created queue connection: " + qc);
return qc;
}
|
public QueueConnection createQueueConnection(String userName,
String password) throws JMSException {
JmsSessionFactoryImpl s = new JmsSessionFactoryImpl(mcf, cm, QUEUE);
s.setUserName(userName);
s.setPassword(password);
if (log.isTraceEnabled())
log.trace("Created queue connection: " + s);
return s;
}
|
public TopicConnection createTopicConnection() throws JMSException {
TopicConnection tc = new JmsSessionFactoryImpl(mcf, cm, TOPIC);
if (log.isTraceEnabled())
log.trace("Created topic connection: " + tc);
return tc;
}
|
public TopicConnection createTopicConnection(String userName,
String password) throws JMSException {
JmsSessionFactoryImpl s = new JmsSessionFactoryImpl(mcf, cm, TOPIC);
s.setUserName(userName);
s.setPassword(password);
if (log.isTraceEnabled())
log.trace("Created topic connection: " + s);
return s;
}
|
public Reference getReference() {
return reference;
}
|
public void setReference(Reference reference) {
this.reference = reference;
if (log.isTraceEnabled())
log.trace("Using Reference=" + reference);
}
|