org.objectweb.joram.client.jms.ha.tcp
Class TopicHATcpConnectionFactory

java.lang.Object
  extended by org.objectweb.joram.client.jms.admin.AdministeredObject
      extended by org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
          extended by org.objectweb.joram.client.jms.TopicConnectionFactory
              extended by org.objectweb.joram.client.jms.ha.tcp.TopicHATcpConnectionFactory
All Implemented Interfaces:
SoapObjectItf, java.io.Serializable, javax.jms.ConnectionFactory, javax.jms.TopicConnectionFactory, javax.naming.Referenceable

Deprecated. Replaced next to Joram 5.2.1 by HATcpConnectionFactory.

public class TopicHATcpConnectionFactory
extends TopicConnectionFactory

A TopicHALocalConnectionFactory instance is a factory of TCP connections to an HA server.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
identity, identityClassName, params, reliableClass
 
Constructor Summary
TopicHATcpConnectionFactory()
          Deprecated. Constructs an empty TopicHATcpConnectionFactory.
 
Method Summary
static javax.jms.TopicConnectionFactory create(java.lang.String url)
          Deprecated. Admin method creating a javax.jms.ConnectionFactory instance for creating HA tcp connections with a given server.
static javax.jms.TopicConnectionFactory create(java.lang.String url, java.lang.String reliableClass)
          Deprecated. Admin method creating a javax.jms.ConnectionFactory instance for creating HA tcp connections with a given server.
protected  RequestChannel createRequestChannel(FactoryParameters params, Identity identity, java.lang.String reliableClass)
          Deprecated. Creates the HATcpRequestChannel object needed to connect to the remote HA server.
 java.lang.String toString()
          Deprecated. Returns a string view of the connection factory.
 
Methods inherited from class org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
code, code, createConnection, createConnection, createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, createXAConnection, createXAConnection, createXAQueueConnection, createXAQueueConnection, createXATopicConnection, createXATopicConnection, decode, decode, fromReference, fromReference, getDefaultLogin, getDefaultPassword, getDefaultRootLogin, getDefaultRootPassword, getDefaultServerHost, getDefaultServerPort, getParameters, initIdentity, setIdentityClassName, setReliableClass, toReference, toReference
 
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
getReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.TopicConnectionFactory
createTopicConnection, createTopicConnection
 
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection
 

Constructor Detail

TopicHATcpConnectionFactory

public TopicHATcpConnectionFactory()
Deprecated. 
Constructs an empty TopicHATcpConnectionFactory. Needed by ObjectFactory, should only be used for internal purposes.

Method Detail

createRequestChannel

protected RequestChannel createRequestChannel(FactoryParameters params,
                                              Identity identity,
                                              java.lang.String reliableClass)
                                       throws javax.jms.JMSException
Deprecated. 
Creates the HATcpRequestChannel object needed to connect to the remote HA server.

Specified by:
createRequestChannel in class AbstractConnectionFactory
Parameters:
params - Connection configuration parameters.
identity - Client's identity.
reliableClass - The protocol specific class.
Returns:
The RequestChannel object specific to the protocol used.
Throws:
javax.jms.JMSException - A problem occurs during the connection.
See Also:
AbstractConnectionFactory.createRequestChannel(FactoryParameters, Identity, String)

create

public static javax.jms.TopicConnectionFactory create(java.lang.String url)
Deprecated. 
Admin method creating a javax.jms.ConnectionFactory instance for creating HA tcp connections with a given server.


create

public static javax.jms.TopicConnectionFactory create(java.lang.String url,
                                                      java.lang.String reliableClass)
Deprecated. 
Admin method creating a javax.jms.ConnectionFactory instance for creating HA tcp connections with a given server.


toString

public java.lang.String toString()
Deprecated. 
Description copied from class: TopicConnectionFactory
Returns a string view of the connection factory.

Overrides:
toString in class TopicConnectionFactory


Copyright © 2011 ScalAgent D.T.. All Rights Reserved.