JBoss EJB client 1.0.5.Final

org.jboss.ejb.client
Class NodeAffinity

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

public final class NodeAffinity
extends Affinity

A single node 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
NodeAffinity(String nodeName)
          Construct a new instance.
 
Method Summary
 String getNodeName()
          Get the associated node name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeAffinity

public NodeAffinity(String nodeName)
Construct a new instance.

Parameters:
nodeName - the associated node name
Method Detail

getNodeName

public String getNodeName()
Get the associated node name.

Returns:
the associated node name

JBoss EJB client 1.0.5.Final

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