org.jboss.jms.client.container
Class ClusteringAspect

java.lang.Object
  extended byorg.jboss.jms.client.container.ClusteringAspect

public class ClusteringAspect
extends java.lang.Object

This aspect is part of a clustered ConnectionFactory aspect stack. Some of its responsibilities are: - To choose the next node to create a physical connection to, based on a pluggable load balancing policy. - To handle physical connection creation (by delegating it to a non-clustered ConnectionFactory delegate) and install failure listeners. - etc. It's a PER_INSTANCE aspect (one of these per each clustered ConnectionFactory instance)

Version:
$Revision: 2740 $ $Id: ClusteringAspect.java 2740 2007-05-30 11:36:28Z timfox $
Author:
Ovidiu Feodorov, Tim Fox, Clebert Suconic

Field Summary
static int MAX_RECONNECT_HOP_COUNT
           
 
Constructor Summary
ClusteringAspect()
           
 
Method Summary
 CreateConnectionResult handleCreateConnectionDelegate(Invocation invocation)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_RECONNECT_HOP_COUNT

public static final int MAX_RECONNECT_HOP_COUNT
See Also:
Constant Field Values
Constructor Detail

ClusteringAspect

public ClusteringAspect()
Method Detail

handleCreateConnectionDelegate

public CreateConnectionResult handleCreateConnectionDelegate(Invocation invocation)
                                                      throws java.lang.Throwable
Throws:
java.lang.Throwable

toString

public java.lang.String toString()


Copyright © 2006 JBoss Inc. All Rights Reserved.