|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.client.JmsConnectionFactory
org.exolab.jms.client.JmsXAConnectionFactory
public class JmsXAConnectionFactory
Client implementation of the javax.jms.XAConnectionFactory
interface.
Constructor Summary | |
---|---|
JmsXAConnectionFactory()
Default constructor required for serialization. |
|
JmsXAConnectionFactory(java.lang.String className,
java.util.Map properties)
Construct a new JmsXAConnectionFactory . |
|
JmsXAConnectionFactory(java.lang.String className,
java.util.Map properties,
java.util.Map environment)
Construct a new JmsXAConnectionFactory . |
Method Summary | |
---|---|
javax.jms.XAConnection |
createXAConnection()
Creates an XA connection with the default user identity. |
javax.jms.XAConnection |
createXAConnection(java.lang.String userName,
java.lang.String password)
Creates an XA connection with the specified user identity. |
javax.jms.XAQueueConnection |
createXAQueueConnection()
Creates an XA queue connection with the default user identity. |
javax.jms.XAQueueConnection |
createXAQueueConnection(java.lang.String userName,
java.lang.String password)
Creates an XA queue connection with the specified user identity. |
javax.jms.XATopicConnection |
createXATopicConnection()
Creates an XA topic connection with the default user identity. |
javax.jms.XATopicConnection |
createXATopicConnection(java.lang.String userName,
java.lang.String password)
Creates an XA topic connection with the specified user identity. |
Methods inherited from class org.exolab.jms.client.JmsConnectionFactory |
---|
addConnection, createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, getConnections, getProxy, getReference, onException, readExternal, removeConnection, writeExternal |
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 |
---|
createQueueConnection, createQueueConnection |
Methods inherited from interface javax.jms.TopicConnectionFactory |
---|
createTopicConnection, createTopicConnection |
Methods inherited from interface javax.jms.ConnectionFactory |
---|
createConnection, createConnection |
Constructor Detail |
---|
public JmsXAConnectionFactory()
public JmsXAConnectionFactory(java.lang.String className, java.util.Map properties)
JmsXAConnectionFactory
.
className
- the server proxy class nameproperties
- properties to initialise the server proxy with proxy.
May be null
public JmsXAConnectionFactory(java.lang.String className, java.util.Map properties, java.util.Map environment)
JmsXAConnectionFactory
.
className
- the server proxy class nameproperties
- properties to initialise the server proxy withenvironment
- the environment used in creating the server proxy. May
be null
Method Detail |
---|
public javax.jms.XAConnection createXAConnection() throws javax.jms.JMSException
Connection.start
method is explicitly called.
createXAConnection
in interface javax.jms.XAConnectionFactory
XAConnection
javax.jms.JMSException
- if the JMS provider fails to create an XA
connection due to some internal error.
javax.jms.JMSSecurityException
- if client authentication fails due to an
invalid user name or password.public javax.jms.XAConnection createXAConnection(java.lang.String userName, java.lang.String password) throws javax.jms.JMSException
Connection.start
method is explicitly called.
createXAConnection
in interface javax.jms.XAConnectionFactory
userName
- the caller's user namepassword
- the caller's password
javax.jms.JMSException
- if the JMS provider fails to create an XA
connection due to some internal error.
javax.jms.JMSSecurityException
- if client authentication fails due to an
invalid user name or password.public javax.jms.XAQueueConnection createXAQueueConnection() throws javax.jms.JMSException
Connection.start
method is explicitly called.
createXAQueueConnection
in interface javax.jms.XAQueueConnectionFactory
javax.jms.JMSException
- if the JMS provider fails to create an XA
queue connection due to some internal
error.
javax.jms.JMSSecurityException
- if client authentication fails due to an
invalid user name or password.public javax.jms.XAQueueConnection createXAQueueConnection(java.lang.String userName, java.lang.String password) throws javax.jms.JMSException
Connection.start
method is explicitly called.
createXAQueueConnection
in interface javax.jms.XAQueueConnectionFactory
userName
- the caller's user namepassword
- the caller's password
javax.jms.JMSException
- if the JMS provider fails to create an XA
queue connection due to some internal
error.
javax.jms.JMSSecurityException
- if client authentication fails due to an
invalid user name or password.public javax.jms.XATopicConnection createXATopicConnection() throws javax.jms.JMSException
Connection.start
method is explicitly called.
createXATopicConnection
in interface javax.jms.XATopicConnectionFactory
javax.jms.JMSException
- if the JMS provider fails to create an XA
topic connection due to some internal
error.
javax.jms.JMSSecurityException
- if client authentication fails due to an
invalid user name or password.public javax.jms.XATopicConnection createXATopicConnection(java.lang.String userName, java.lang.String password) throws javax.jms.JMSException
Connection.start
method is explicitly called.
createXATopicConnection
in interface javax.jms.XATopicConnectionFactory
userName
- the caller's user namepassword
- the caller's password
javax.jms.JMSException
- if the JMS provider fails to create an XA
topic connection due to some internal
error.
javax.jms.JMSSecurityException
- if client authentication fails due to an
invalid user name or password.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |