JBoss EJB client 1.0.5.Final

org.jboss.ejb.client
Class ClusterAffinity

java.lang.Object
  extended by org.jboss.ejb.client.Affinity
      extended by org.jboss.ejb.client.ClusterAffinity
All Implemented Interfaces:
Serializable

public final class ClusterAffinity
extends Affinity

A cluster affinity specification.

Author:
David M. Lloyd
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.ejb.client.Affinity
NONE, WEAK_AFFINITY_CONTEXT_KEY
 
Constructor Summary
ClusterAffinity(String clusterName)
          Construct a new instance.
 
Method Summary
 String getClusterName()
          Get the associated cluster name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterAffinity

public ClusterAffinity(String clusterName)
Construct a new instance.

Parameters:
clusterName - the associated cluster name
Method Detail

getClusterName

public String getClusterName()
Get the associated cluster name.

Returns:
the associated cluster name

JBoss EJB client 1.0.5.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.