|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omg.CORBA.portable.ObjectImpl com.sssw.jbroker.orb.ValueWrapper com.sssw.jms.api.JMQAdministeredObject com.sssw.jms.api.JMQConnectionFactory com.sssw.jms.api.JMQXAQueueConnectionFactory
A client uses a JMQXAQueueConnectionFactory
to create
JMQXAQueueConnection
's.
Field Summary |
Fields inherited from class com.sssw.jms.api.JMQConnectionFactory |
IIOP_PROTOCOL, IIOP_SSL_PROTOCOL, QUEUE, TOPIC, XA_QUEUE, XA_TOPIC |
Constructor Summary | |
JMQXAQueueConnectionFactory()
Construct a JMQXAQueueConnectionFactory . |
|
JMQXAQueueConnectionFactory(String protocol)
Construct a JMQXAQueueConnectionFactory with a given
protocol. |
|
JMQXAQueueConnectionFactory(String protocol,
String clientId)
Construct a JMQXAQueueConnectionFactory with a given
protocol, and client Id. |
|
JMQXAQueueConnectionFactory(String protocol,
String hostName,
String clientId)
Construct a JMQXAQueueConnectionFactory with a given
protocol, server hostname, and client id. |
|
JMQXAQueueConnectionFactory(String protocol,
String hostName,
String clientId,
int port)
Construct a JMQXAQueueConnectionFactory with a given
protocol, server hostname, server port, client id. |
|
JMQXAQueueConnectionFactory(String protocol,
String hostName,
String clientId,
int port,
JMQServerInfo[] servers)
Construct a JMQXAQueueConnectionFactory with a given
protocol, cluster information, and client id. |
|
JMQXAQueueConnectionFactory(String protocol,
String hostName,
String clientId,
int port,
String userName,
String password)
Construct a JMQXAQueueConnectionFactory with a given
protocol, server hostname, server port, client id, username, and
password. |
|
JMQXAQueueConnectionFactory(String protocol,
String hostName,
String clientId,
int port,
String userName,
String password,
JMQServerInfo[] servers)
Construct a JMQXAQueueConnectionFactory with a given
protocol, cluster information, and client id. |
Method Summary | |
QueueConnection |
createQueueConnection()
Create a QueueConnection using the factory's default
configuration. |
QueueConnection |
createQueueConnection(String user,
String password)
Create a QueueConnection using the factory's default
configuration and specified user name and password. |
XAConnection |
createXAConnection()
Create an XAConnection using the factory's default
configuration. |
XAConnection |
createXAConnection(String user,
String password)
Create an XAConnection using the factory's default
configuration and specified user name and password. |
XAQueueConnection |
createXAQueueConnection()
Create a XAQueueConnection using the factory's default
configuration. |
XAQueueConnection |
createXAQueueConnection(String user,
String password)
Create a XAQueueConnection using the factory's default
configuration and specified user name and password. |
String |
toString()
Return a pretty printed string form of this connection factory |
Methods inherited from class com.sssw.jms.api.JMQConnectionFactory |
addCACertificate, createConnection, createConnection, getCipherSuites, getClientId, getDefaultPassword, getDefaultUserName, getHost, getPort, getProtocol, getReference, getServers, getType, isClientPull, isSecureBroker, setCertificateChain, setCertificateChain, setCipherSuites, setClientId, setClientPull, setDefaultPassword, setDefaultUserName, setHost, setPort, setProtocol, setSecureBroker, setServers |
Methods inherited from class com.sssw.jbroker.orb.ValueWrapper |
_ids |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JMQXAQueueConnectionFactory()
JMQXAQueueConnectionFactory
. The protocol
defaults to IIOP_PROTOCOL
.
JMQXAQueueConnectionFactory(String)
public JMQXAQueueConnectionFactory(String protocol)
JMQXAQueueConnectionFactory
with a given
protocol. The client Id defaults to null
.
protocol
- the protocol used to communicate with the JMS serverJMQXAQueueConnectionFactory(String, String)
public JMQXAQueueConnectionFactory(String protocol, String clientId)
JMQXAQueueConnectionFactory
with a given
protocol, and client Id. The hostname defaults to "localhost".
protocol
- the protocol used to communicate with the JMS serverclientId
- the client identifier used by default by connections
created using this factoryJMQXAQueueConnectionFactory(String, String, String)
public JMQXAQueueConnectionFactory(String protocol, String hostName, String clientId)
JMQXAQueueConnectionFactory
with a given
protocol, server hostname, and client id. The default port 53506
is used.
protocol
- the protocol used to communicate with the JMS serverhostName
- the host name of JMS serverclientId
- the client identifier used by default by connections
created using this factoryJMQXAQueueConnectionFactory(String, String, String, int)
public JMQXAQueueConnectionFactory(String protocol, String hostName, String clientId, int port)
JMQXAQueueConnectionFactory
with a given
protocol, server hostname, server port, client id. The username
and password are set to null.
protocol
- the protocol used to communicate with the JMS serverhostName
- the host name of JMS serverclientId
- the client identifier used by default by connections
created using this factoryport
- the port where JMS server is runningJMQXAQueueConnectionFactory(String, String, String, int, String, String)
public JMQXAQueueConnectionFactory(String protocol, String hostName, String clientId, int port, JMQServerInfo[] servers)
JMQXAQueueConnectionFactory
with a given
protocol, cluster information, and client id. The username and
password are set to null.
protocol
- the protocol used to communicate with the JMS serverhostName
- the host name of the primary JMS serverclientId
- the client identifier used by default by connections
created using this factoryport
- the port where JMS server is runningservers
- an array of host/port pairs for servers in clusterJMQXAQueueConnectionFactory(String, String, String, int, String, String, JMQServerInfo[])
public JMQXAQueueConnectionFactory(String protocol, String hostName, String clientId, int port, String userName, String password)
JMQXAQueueConnectionFactory
with a given
protocol, server hostname, server port, client id, username, and
password.
protocol
- the protocol used to communicate with the JMS serverhostName
- the host name of JMS serverclientId
- the client identifier used by default by connections
created using this factoryport
- the port where JMS server is runninguserName
- default user name when creating connections using
this factorypassword
- default password when creating connections using
this factorypublic JMQXAQueueConnectionFactory(String protocol, String hostName, String clientId, int port, String userName, String password, JMQServerInfo[] servers)
JMQXAQueueConnectionFactory
with a given
protocol, cluster information, and client id. The username and
password are set to null.
protocol
- the protocol used to communicate with the JMS serverhostName
- the host name of the primary JMS serverclientId
- the client identifier used by default by connections
created using this factoryport
- the port where JMS server is runninguserName
- default user name when creating connections using
this factorypassword
- default password when creating connections using
this factoryservers
- an array of host/port pairs for servers in clusterMethod Detail |
public XAConnection createXAConnection() throws JMSException
XAConnection
using the factory's default
configuration.
XAConnection
object.
JMSException
public XAConnection createXAConnection(String user, String password) throws JMSException
XAConnection
using the factory's default
configuration and specified user name and password.
password
- connection password
XAConnection
object.
JMSException
public QueueConnection createQueueConnection() throws JMSException
QueueConnection
using the factory's default
configuration.
createQueueConnection
in interface QueueConnectionFactory
QueueConnection
object.
JMSException
- if the JMS provider fails to create the queue
connection due to some internal error.public QueueConnection createQueueConnection(String user, String password) throws JMSException
QueueConnection
using the factory's default
configuration and specified user name and password.
createQueueConnection
in interface QueueConnectionFactory
password
- connection passworduser
- the caller's user name
QueueConnection
object.
JMSException
- if the JMS provider fails to create the queue
connection due to some internal error.public XAQueueConnection createXAQueueConnection() throws JMSException
XAQueueConnection
using the factory's default
configuration.
createXAQueueConnection
in interface XAQueueConnectionFactory
XAQueueConnection
object.
JMSException
- if the JMS provider fails to create an XA queue
connection due to some internal error.public XAQueueConnection createXAQueueConnection(String user, String password) throws JMSException
XAQueueConnection
using the factory's default
configuration and specified user name and password.
createXAQueueConnection
in interface XAQueueConnectionFactory
password
- connection passworduser
- the caller's user name
XAQueueConnection
object.
JMSException
- if the JMS provider fails to create an XA queue
connection due to some internal error.public String toString()
JMQConnectionFactory
toString
in class JMQConnectionFactory
|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |