JBoss EJB client 1.0.5.Final

org.jboss.ejb.client
Class AttachmentKeys

java.lang.Object
  extended by org.jboss.ejb.client.AttachmentKeys

public final class AttachmentKeys
extends Object

Commonly-used attachment keys.

Author:
David M. Lloyd

Field Summary
static AttachmentKey<TransactionID> TRANSACTION_ID_KEY
          The attachment key for transaction IDs.
static AttachmentKey<Affinity> WEAK_AFFINITY
          The preferred node or cluster for invocations from this proxy.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSACTION_ID_KEY

public static final AttachmentKey<TransactionID> TRANSACTION_ID_KEY
The attachment key for transaction IDs. This key is normally associated with an invocation.


WEAK_AFFINITY

public static final AttachmentKey<Affinity> WEAK_AFFINITY
The preferred node or cluster for invocations from this proxy. Note that this name is only a recommendation and is not required to be used, and if the node or cluster is not available then the invocation may proceed to another node or cluster. This key is normally associated with a proxy, and copied to an invocation.


JBoss EJB client 1.0.5.Final

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