org.jboss.ejb3.proxy.clustered.familyname
Class InvokerLocatorProtocolClusterFamilyNamePolicy

java.lang.Object
  extended by org.jboss.ejb3.proxy.clustered.familyname.InvokerLocatorProtocolClusterFamilyNamePolicy
All Implemented Interfaces:
ClusterFamilyNamePolicy<org.jboss.remoting.InvokerLocator>

public class InvokerLocatorProtocolClusterFamilyNamePolicy
extends Object
implements ClusterFamilyNamePolicy<org.jboss.remoting.InvokerLocator>

Version:
$Revision: $
Author:
Brian Stansberry

Constructor Summary
InvokerLocatorProtocolClusterFamilyNamePolicy()
           
 
Method Summary
 String getClusterFamilyName(String serviceName, org.jboss.remoting.InvokerLocator localTarget, String partitionName)
          Gets a name for the clustering information identified by the given parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokerLocatorProtocolClusterFamilyNamePolicy

public InvokerLocatorProtocolClusterFamilyNamePolicy()
Method Detail

getClusterFamilyName

public String getClusterFamilyName(String serviceName,
                                   org.jboss.remoting.InvokerLocator localTarget,
                                   String partitionName)
Description copied from interface: ClusterFamilyNamePolicy
Gets a name for the clustering information identified by the given parameters. Invoking this method on different nodes in the cluster, with the same serviceName and the same partitionName but different but logically related localTarget values must result in the same return value.

Specified by:
getClusterFamilyName in interface ClusterFamilyNamePolicy<org.jboss.remoting.InvokerLocator>
Parameters:
serviceName - the name of the service
localTarget - this node's cluster target for the service
partitionName - the name of the HAPartition
Returns:
the cluster family name.


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.