public abstract class Affinity extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static Affinity |
LOCAL
The specification for the local EJB environment.
|
static Affinity |
NONE
The specification for no particular affinity.
|
static String |
WEAK_AFFINITY_CONTEXT_KEY
Key which will be used in the invocation context data for passing around the weak affinity
associated with a EJB.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(Affinity other) |
boolean |
equals(Object other) |
static Affinity |
forUri(URI uri)
Get the affinity specification corresponding to the given URI.
|
abstract URI |
getUri()
Get the associated URI.
|
abstract int |
hashCode() |
public static final Affinity NONE
public static final Affinity LOCAL
public static final String WEAK_AFFINITY_CONTEXT_KEY
public static Affinity forUri(URI uri)
uri
- the URInull
)public abstract URI getUri()
null
)public abstract boolean equals(Affinity other)
Copyright © 2017 JBoss by Red Hat. All rights reserved.