|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mq.SpyConnectionFactory (src) org.jboss.mq.SpyXAConnectionFactory
This class implements javax.jms.XATopicConnectionFactory
and
javax.jms.XAQueueConnectionFactory
.
Field Summary |
Fields inherited from class org.jboss.mq.SpyConnectionFactory (src) |
factory |
Constructor Summary | |
SpyXAConnectionFactory(GenericConnectionFactory (src) factory)
Create a new SpyXAConnectionFactory |
|
SpyXAConnectionFactory(java.util.Properties config)
Create a new SpyXAConnectionFactory |
Method Summary | |
XAConnection (src) |
createXAConnection()
Creates an XAConnection with the default user identity. |
XAConnection (src) |
createXAConnection(java.lang.String userName,
java.lang.String password)
Creates an XA connection with the specified user identity. |
XAQueueConnection (src) |
createXAQueueConnection()
Creates an XA queue connection with the default user identity. |
XAQueueConnection (src) |
createXAQueueConnection(java.lang.String userName,
java.lang.String password)
Creates an XA queue connection with the specified user identity. |
XATopicConnection (src) |
createXATopicConnection()
Creates an XA topic connection with the default user identity. |
XATopicConnection (src) |
createXATopicConnection(java.lang.String userName,
java.lang.String password)
Creates an XA topic connection with the specified user identity. |
javax.naming.Reference |
getReference()
|
Methods inherited from class org.jboss.mq.SpyConnectionFactory (src) |
createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.QueueConnectionFactory (src) |
createQueueConnection, createQueueConnection |
Methods inherited from interface javax.jms.ConnectionFactory (src) |
createConnection, createConnection |
Methods inherited from interface javax.jms.TopicConnectionFactory (src) |
createTopicConnection, createTopicConnection |
Constructor Detail |
public SpyXAConnectionFactory(GenericConnectionFactory (src) factory)
factory
- the generic connection factorypublic SpyXAConnectionFactory(java.util.Properties config)
config
- the configurationMethod Detail |
public XAConnection (src) createXAConnection() throws JMSException (src)
XAConnectionFactory (src)
XAConnection
with the default user identity.
The connection is created in stopped mode. No messages
will be delivered until the Connection.start
method
is explicitly called.
createXAConnection
in interface XAConnectionFactory (src)
XAConnection
JMSException (src)
- if the JMS provider fails to create an XA
connection due to some internal error.public XAConnection (src) createXAConnection(java.lang.String userName, java.lang.String password) throws JMSException (src)
XAConnectionFactory (src)
Connection.start
method
is explicitly called.
createXAConnection
in interface XAConnectionFactory (src)
userName
- the caller's user namepassword
- the caller's password
JMSException (src)
- if the JMS provider fails to create an XA
connection due to some internal error.public XAQueueConnection (src) createXAQueueConnection() throws JMSException (src)
XAQueueConnectionFactory (src)
Connection.start
method
is explicitly called.
createXAQueueConnection
in interface XAQueueConnectionFactory (src)
JMSException (src)
- if the JMS provider fails to create an XA queue
connection due to some internal error.public XAQueueConnection (src) createXAQueueConnection(java.lang.String userName, java.lang.String password) throws JMSException (src)
XAQueueConnectionFactory (src)
Connection.start
method
is explicitly called.
createXAQueueConnection
in interface XAQueueConnectionFactory (src)
userName
- the caller's user namepassword
- the caller's password
JMSException (src)
- if the JMS provider fails to create an XA queue
connection due to some internal error.public XATopicConnection (src) createXATopicConnection() throws JMSException (src)
XATopicConnectionFactory (src)
Connection.start
method
is explicitly called.
createXATopicConnection
in interface XATopicConnectionFactory (src)
JMSException (src)
- if the JMS provider fails to create an XA topic
connection due to some internal error.public XATopicConnection (src) createXATopicConnection(java.lang.String userName, java.lang.String password) throws JMSException (src)
XATopicConnectionFactory (src)
Connection.start
method
is explicitly called.
createXATopicConnection
in interface XATopicConnectionFactory (src)
userName
- the caller's user namepassword
- the caller's password
JMSException (src)
- if the JMS provider fails to create an XA topic
connection due to some internal error.public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
getReference
in class SpyConnectionFactory (src)
javax.naming.NamingException
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |