Package | Description |
---|---|
org.jboss.ejb.client |
Modifier and Type | Class and Description |
---|---|
class |
ClusterAffinity
A cluster affinity specification.
|
class |
NodeAffinity
A single node affinity specification.
|
Modifier and Type | Field and Description |
---|---|
static Affinity |
Affinity.NONE
The specification for no particular affinity.
|
Modifier and Type | Field and Description |
---|---|
static AttachmentKey<Affinity> |
AttachmentKeys.WEAK_AFFINITY
The preferred node or cluster for invocations from this proxy.
|
Modifier and Type | Method and Description |
---|---|
Affinity |
EJBLocator.getAffinity()
Get the locator affinity.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Affinity.equals(Affinity other) |
boolean |
ClusterAffinity.equals(Affinity other) |
boolean |
NodeAffinity.equals(Affinity other) |
abstract EJBLocator<T> |
EJBLocator.withNewAffinity(Affinity affinity)
Create a copy of this locator, but with the new given affinity.
|
EJBLocator<T> |
EntityEJBLocator.withNewAffinity(Affinity affinity) |
EJBLocator<T> |
EJBHomeLocator.withNewAffinity(Affinity affinity) |
EJBLocator<T> |
StatefulEJBLocator.withNewAffinity(Affinity affinity) |
EJBLocator<T> |
StatelessEJBLocator.withNewAffinity(Affinity affinity) |
Constructor and Description |
---|
EJBHomeLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
Affinity affinity)
Construct a new instance.
|
EJBHomeLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName,
Affinity affinity)
Construct a new instance.
|
EJBHomeLocator(EJBHomeLocator<T> original,
Affinity newAffinity)
Construct a new instance from an original instance but with a new affinity.
|
EntityEJBLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
Object primaryKey,
Affinity affinity)
Construct a new instance.
|
EntityEJBLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName,
Object primaryKey,
Affinity affinity)
Construct a new instance.
|
EntityEJBLocator(EntityEJBLocator<T> original,
Affinity newAffinity)
Construct a new instance.
|
StatefulEJBLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName,
SessionID sessionId,
Affinity affinity,
String sessionOwnerNode)
Constructs a
StatefulEJBLocator |
StatefulEJBLocator(StatefulEJBLocator<T> original,
Affinity newAffinity)
Construct a new instance.
|
StatelessEJBLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
Affinity affinity)
Construct a new instance.
|
StatelessEJBLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName,
Affinity affinity)
Construct a new instance.
|
StatelessEJBLocator(StatelessEJBLocator<T> original,
Affinity newAffinity)
Construct a new instance.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.