Package com.tibco.tibjms
Class TibjmsTopicConnectionFactory
- java.lang.Object
-
- com.tibco.tibjms.TibjmsxCFImpl
-
- com.tibco.tibjms.TibjmsConnectionFactory
-
- com.tibco.tibjms.TibjmsTopicConnectionFactory
-
- All Implemented Interfaces:
com.tibco.tibjms.TibjmsXMLConst
,java.io.Externalizable
,java.io.Serializable
,java.lang.Cloneable
,ConnectionFactory
,TopicConnectionFactory
,javax.naming.Referenceable
public class TibjmsTopicConnectionFactory extends TibjmsConnectionFactory implements TopicConnectionFactory, java.io.Externalizable, javax.naming.Referenceable, java.lang.Cloneable
Implementation of javax.jms.TopicConnectionFactory.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.tibco.tibjms.TibjmsxCFImpl
_clientID, _properties, _url, _wasCreatedByUfo
-
Fields inherited from interface com.tibco.tibjms.TibjmsXMLConst
TIBJMS_LDAP_ADMINOBJ, TIBJMS_LDAP_CN, TIBJMS_LDAP_OBJCLASS, TIBJMS_LDAP_TOP, TIBJMS_LDAP_XMLDATA, TIBJMS_XML_ADMINOBJ, TIBJMS_XML_AUTHONLY, TIBJMS_XML_AUTHORITIES, TIBJMS_XML_B64DATA, TIBJMS_XML_CERT, TIBJMS_XML_CERTS, TIBJMS_XML_CIDENTITY, TIBJMS_XML_CIPHERS, TIBJMS_XML_CLIENTID, TIBJMS_XML_CONFACT, TIBJMS_XML_CONNATTEMPTS, TIBJMS_XML_CONNATTEMPTTIMEOUT, TIBJMS_XML_CONNDELAY, TIBJMS_XML_DEBUG_TRACE, TIBJMS_XML_DESTTYPE, TIBJMS_XML_DISABLED, TIBJMS_XML_DTDURL, TIBJMS_XML_ENABLED, TIBJMS_XML_ENCODING, TIBJMS_XML_EXPECTHNAME, TIBJMS_XML_FILE, TIBJMS_XML_GENERIC, TIBJMS_XML_GENPARAMS, TIBJMS_XML_ISSUER, TIBJMS_XML_METRIC, TIBJMS_XML_MULTICAST, TIBJMS_XML_MULTICAST_DAEMON, TIBJMS_XML_NAME, TIBJMS_XML_PARAMETER, TIBJMS_XML_PASSWORD, TIBJMS_XML_PKEY, TIBJMS_XML_QUEUE, TIBJMS_XML_RECONNATTEMPTS, TIBJMS_XML_RECONNATTEMPTTIMEOUT, TIBJMS_XML_RECONNDELAY, TIBJMS_XML_SECPARAMS, TIBJMS_XML_SSLPARAMS, TIBJMS_XML_TOPIC, TIBJMS_XML_TRACE, TIBJMS_XML_TRUSTED, TIBJMS_XML_URL, TIBJMS_XML_USERNAME, TIBJMS_XML_VALUE, TIBJMS_XML_VENDOR, TIBJMS_XML_VERIFYHNAME, TIBJMS_XML_VERIFYHOST, TIBJMS_XML_XA
-
-
Constructor Summary
Constructors Constructor Description TibjmsTopicConnectionFactory()
TibjmsTopicConnectionFactory(java.lang.String serverUrl)
TibjmsTopicConnectionFactory(java.lang.String serverUrl, java.lang.String clientId)
TibjmsTopicConnectionFactory(java.lang.String serverUrl, java.lang.String clientId, java.util.Map properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
TopicConnection
createTopicConnection()
Creates a topic connection with the default user identity.TopicConnection
createTopicConnection(java.lang.String userName, java.lang.String password)
Creates a topic connection with the specified user identity.void
readExternal(java.io.ObjectInput in)
void
writeExternal(java.io.ObjectOutput out)
-
Methods inherited from class com.tibco.tibjms.TibjmsConnectionFactory
createConnection, createConnection, createContext, createContext, createContext, createContext, getSSLProxyHost, getSSLProxyPassword, getSSLProxyPort, getSSLProxyUser, setClientID, setConnAttemptCount, setConnAttemptDelay, setConnAttemptTimeout, setMetric, setMulticastDaemon, setMulticastEnabled, setReconnAttemptCount, setReconnAttemptDelay, setReconnAttemptTimeout, setServerUrl, setSSLAuthOnly, setSSLCipherSuites, setSSLDebugTrace, setSSLEnableVerifyHost, setSSLEnableVerifyHostName, setSSLExpectedHostName, setSSLIdentity, setSSLIdentity, setSSLIdentityEncoding, setSSLIssuerCertificate, setSSLIssuerCertificate, setSSLIssuerCertificate, setSSLPassword, setSSLPrivateKey, setSSLPrivateKey, setSSLPrivateKeyEncoding, setSSLProxy, setSSLProxyAuth, setSSLTrace, setSSLTrustedCertificate, setSSLTrustedCertificate, setSSLTrustedCertificate, setSSLVendor, setUserName, setUserPassword
-
Methods inherited from class com.tibco.tibjms.TibjmsxCFImpl
_getCurrentUrl, buildXML, getClientID, getCurrentUrl, getMetric, getProperties, getReference, getUrl, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection, createContext, createContext, createContext, createContext
-
-
-
-
Constructor Detail
-
TibjmsTopicConnectionFactory
public TibjmsTopicConnectionFactory()
-
TibjmsTopicConnectionFactory
public TibjmsTopicConnectionFactory(java.lang.String serverUrl)
-
TibjmsTopicConnectionFactory
public TibjmsTopicConnectionFactory(java.lang.String serverUrl, java.lang.String clientId)
-
TibjmsTopicConnectionFactory
public TibjmsTopicConnectionFactory(java.lang.String serverUrl, java.lang.String clientId, java.util.Map properties)
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
- Overrides:
clone
in classTibjmsConnectionFactory
- Throws:
java.lang.CloneNotSupportedException
-
createTopicConnection
public TopicConnection createTopicConnection() throws JMSException
Description copied from interface:TopicConnectionFactory
Creates a topic connection with the default user identity. The connection is created in stopped mode. No messages will be delivered until theConnection.start
method is explicitly called.- Specified by:
createTopicConnection
in interfaceTopicConnectionFactory
- Returns:
- a newly created topic connection
- Throws:
JMSException
- if the Jakarta Messaging provider fails to create a topic connection due to some internal error.JMSSecurityException
- if client authentication fails due to an invalid user name or password.
-
createTopicConnection
public TopicConnection createTopicConnection(java.lang.String userName, java.lang.String password) throws JMSException
Description copied from interface:TopicConnectionFactory
Creates a topic connection with the specified user identity. The connection is created in stopped mode. No messages will be delivered until theConnection.start
method is explicitly called.- Specified by:
createTopicConnection
in interfaceTopicConnectionFactory
- Parameters:
userName
- the caller's user namepassword
- the caller's password- Returns:
- a newly created topic connection
- Throws:
JMSException
- if the Jakarta Messaging provider fails to create a topic connection due to some internal error.JMSSecurityException
- if client authentication fails due to an invalid user name or password.
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
- Specified by:
writeExternal
in interfacejava.io.Externalizable
- Overrides:
writeExternal
in classTibjmsConnectionFactory
- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
- Specified by:
readExternal
in interfacejava.io.Externalizable
- Overrides:
readExternal
in classTibjmsConnectionFactory
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
-