|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mq.SpyConnectionFactory
public class SpyConnectionFactory
This class implements javax.jms.TopicConnectionFactory
and
javax.jms.QueueConnectionFactory
.
Field Summary | |
---|---|
protected GenericConnectionFactory |
factory
The delegate factory |
Constructor Summary | |
---|---|
SpyConnectionFactory(GenericConnectionFactory factory)
Create a new SpyConnectionFactory |
|
SpyConnectionFactory(Properties config)
Create a new SpyConnectionFactory |
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)
|
Properties |
getProperties()
For testing |
Reference |
getReference()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected GenericConnectionFactory factory
Constructor Detail |
---|
public SpyConnectionFactory(GenericConnectionFactory factory)
factory
- the delegate factorypublic SpyConnectionFactory(Properties config)
config
- the configurationMethod Detail |
---|
public Properties getProperties()
public Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
public javax.jms.Connection createConnection() throws javax.jms.JMSException
createConnection
in interface javax.jms.ConnectionFactory
javax.jms.JMSException
public javax.jms.Connection createConnection(String userName, String password) throws javax.jms.JMSException
createConnection
in interface javax.jms.ConnectionFactory
javax.jms.JMSException
public javax.jms.QueueConnection createQueueConnection() throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
javax.jms.JMSException
public javax.jms.QueueConnection createQueueConnection(String userName, String password) throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
javax.jms.JMSException
public javax.jms.TopicConnection createTopicConnection() throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSException
public javax.jms.TopicConnection createTopicConnection(String userName, String password) throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |