org.jboss.ejb3.proxy.clustered.familyname
Class InvokerLocatorProtocolPortClusterFamilyNamePolicy
java.lang.Object
org.jboss.ejb3.proxy.clustered.familyname.InvokerLocatorProtocolPortClusterFamilyNamePolicy
- All Implemented Interfaces:
- ClusterFamilyNamePolicy<org.jboss.remoting.InvokerLocator>
public class InvokerLocatorProtocolPortClusterFamilyNamePolicy
- extends Object
- implements ClusterFamilyNamePolicy<org.jboss.remoting.InvokerLocator>
- Version:
- $Revision: $
- Author:
- Brian Stansberry
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 |
InvokerLocatorProtocolPortClusterFamilyNamePolicy
public InvokerLocatorProtocolPortClusterFamilyNamePolicy()
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 servicelocalTarget
- this node's cluster target for the servicepartitionName
- the name of the HAPartition
- Returns:
- the cluster family name.
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.