Package com.tibco.tibems.ufo
Class TibjmsUFOTopicConnectionFactory
- java.lang.Object
-
- com.tibco.tibems.ufo.TibjmsUFOConnectionFactory
-
- com.tibco.tibems.ufo.TibjmsUFOTopicConnectionFactory
-
- All Implemented Interfaces:
com.tibco.tibems.ufo.TibjmsUFOxConst
,java.io.Externalizable
,java.io.Serializable
,java.lang.Cloneable
,ConnectionFactory
,TopicConnectionFactory
public class TibjmsUFOTopicConnectionFactory extends TibjmsUFOConnectionFactory implements TopicConnectionFactory, java.io.Externalizable
UFO Implementation of javax.jms.TopicConnectionFactory.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TibjmsUFOTopicConnectionFactory()
TibjmsUFOTopicConnectionFactory(TibjmsTopicConnectionFactory factory)
TibjmsUFOTopicConnectionFactory(java.lang.String serverUrls)
TibjmsUFOTopicConnectionFactory(java.lang.String serverUrls, java.lang.String clientId)
TibjmsUFOTopicConnectionFactory(java.lang.String serverUrls, 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.java.lang.String
getCurrentUrl()
void
readExternal(java.io.ObjectInput in)
java.lang.String
toString()
void
writeExternal(java.io.ObjectOutput out)
-
Methods inherited from class com.tibco.tibems.ufo.TibjmsUFOConnectionFactory
createConnection, createConnection, createContext, createContext, createContext, createContext, getSSLProxyHost, getSSLProxyPassword, getSSLProxyPort, getSSLProxyUser, recoverConnection, setBlockingOnRecovery, 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 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
-
TibjmsUFOTopicConnectionFactory
public TibjmsUFOTopicConnectionFactory()
-
TibjmsUFOTopicConnectionFactory
public TibjmsUFOTopicConnectionFactory(java.lang.String serverUrls)
-
TibjmsUFOTopicConnectionFactory
public TibjmsUFOTopicConnectionFactory(java.lang.String serverUrls, java.lang.String clientId)
-
TibjmsUFOTopicConnectionFactory
public TibjmsUFOTopicConnectionFactory(java.lang.String serverUrls, java.lang.String clientId, java.util.Map properties)
-
TibjmsUFOTopicConnectionFactory
public TibjmsUFOTopicConnectionFactory(TibjmsTopicConnectionFactory factory) throws JMSException
- Throws:
JMSException
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
- Overrides:
clone
in classTibjmsUFOConnectionFactory
- 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 classTibjmsUFOConnectionFactory
- 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 classTibjmsUFOConnectionFactory
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getCurrentUrl
public java.lang.String getCurrentUrl()
-
-