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 java.lang.Object
implements ClusterFamilyNamePolicy<org.jboss.remoting.InvokerLocator>


Constructor Summary
InvokerLocatorProtocolClusterFamilyNamePolicy()
           
 
Method Summary
 java.lang.String getClusterFamilyName(java.lang.String serviceName, org.jboss.remoting.InvokerLocator localTarget, java.lang.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 java.lang.String getClusterFamilyName(java.lang.String serviceName,
                                             org.jboss.remoting.InvokerLocator localTarget,
                                             java.lang.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.