|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mq.SpyConnectionFactory
This class implements javax.jms.TopicConnectionFactory and
javax.jms.QueueConnectionFactory.
| Field Summary | |
protected GenericConnectionFactory (src) |
factory
The delegate factory |
| Constructor Summary | |
SpyConnectionFactory(GenericConnectionFactory (src) factory)
Create a new SpyConnectionFactory |
|
SpyConnectionFactory(java.util.Properties config)
Create a new SpyConnectionFactory |
|
| Method Summary | |
Connection (src) |
createConnection()
Creates a connection with the default user identity. |
Connection (src) |
createConnection(java.lang.String userName,
java.lang.String password)
Creates a connection with the specified user identity. |
QueueConnection (src) |
createQueueConnection()
Creates a queue connection with the default user identity. |
QueueConnection (src) |
createQueueConnection(java.lang.String userName,
java.lang.String password)
Creates a queue connection with the specified user identity. |
TopicConnection (src) |
createTopicConnection()
Creates a topic connection with the default user identity. |
TopicConnection (src) |
createTopicConnection(java.lang.String userName,
java.lang.String password)
Creates a topic connection with the specified user identity. |
javax.naming.Reference |
getReference()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected GenericConnectionFactory (src) factory
| Constructor Detail |
public SpyConnectionFactory(GenericConnectionFactory (src) factory)
factory - the delegate factorypublic SpyConnectionFactory(java.util.Properties config)
config - the configuration| Method Detail |
public javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingException
public Connection (src) createConnection()
throws JMSException (src)
ConnectionFactory (src) Connection.start method
is explicitly called.
createConnection in interface ConnectionFactory (src) JMSException (src) - if the JMS provider fails to create the
connection due to some internal error.
public Connection (src) createConnection(java.lang.String userName,
java.lang.String password)
throws JMSException (src)
ConnectionFactory (src) Connection.start method
is explicitly called.
createConnection in interface ConnectionFactory (src) userName - the caller's user namepassword - the caller's password
JMSException (src) - if the JMS provider fails to create the
connection due to some internal error.
public QueueConnection (src) createQueueConnection()
throws JMSException (src)
QueueConnectionFactory (src) Connection.start method
is explicitly called.
.
createQueueConnection in interface QueueConnectionFactory (src) JMSException (src) - if the JMS provider fails to create the queue
connection due to some internal error.
public QueueConnection (src) createQueueConnection(java.lang.String userName,
java.lang.String password)
throws JMSException (src)
QueueConnectionFactory (src) Connection.start method
is explicitly called.
createQueueConnection in interface QueueConnectionFactory (src) userName - the caller's user namepassword - the caller's password
JMSException (src) - if the JMS provider fails to create the queue
connection due to some internal error.
public TopicConnection (src) createTopicConnection()
throws JMSException (src)
TopicConnectionFactory (src) Connection.start method
is explicitly called.
createTopicConnection in interface TopicConnectionFactory (src) JMSException (src) - if the JMS provider fails to create a topic
connection due to some internal error.
public TopicConnection (src) createTopicConnection(java.lang.String userName,
java.lang.String password)
throws JMSException (src)
TopicConnectionFactory (src) Connection.start method
is explicitly called.
createTopicConnection in interface TopicConnectionFactory (src) userName - the caller's user namepassword - the caller's password
JMSException (src) - if the JMS provider fails to create a topic
connection due to some internal error.
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||