Package | Description |
---|---|
org.jboss.ejb._private | |
org.jboss.ejb.client | |
org.jboss.ejb.server |
Modifier and Type | Method and Description |
---|---|
CommunicationException |
Logs_$logger.nullSessionCreated(Name resolvedName,
Name name,
Affinity affinity,
EJBIdentifier identifier) |
CommunicationException |
Logs.nullSessionCreated(Name resolvedName,
Name name,
Affinity affinity,
EJBIdentifier identifier) |
Modifier and Type | Class and Description |
---|---|
class |
ClusterAffinity
A cluster affinity specification.
|
class |
NodeAffinity
A single node affinity specification.
|
class |
URIAffinity
A URI affinity specification.
|
Modifier and Type | Field and Description |
---|---|
static Affinity |
Affinity.LOCAL
The specification for the local EJB environment.
|
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 |
---|---|
static Affinity |
Affinity.forUri(URI uri)
Get the affinity specification corresponding to the given URI.
|
Affinity |
EJBLocator.getAffinity()
Get the locator affinity.
|
static Affinity |
EJBClient.getStrongAffinity(Object proxy)
Get the strong affinity of a proxy.
|
Affinity |
EJBClientInvocationContext.getWeakAffinity()
Get the invocation weak affinity.
|
static Affinity |
EJBClient.getWeakAffinity(Object proxy)
Get the current weak affinity of a proxy.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
EJBClient.compareAndSetStrongAffinity(Object proxy,
Affinity expectedAffinity,
Affinity newAffinity)
Compare and change the strong affinity of a proxy.
|
static <T> StatelessEJBLocator<T> |
StatelessEJBLocator.create(Class<T> viewType,
EJBIdentifier identifier,
Affinity affinity)
Construct a new instance.
|
static <T extends EJBHome> |
EJBHomeLocator.create(Class<T> viewType,
EJBIdentifier identifier,
Affinity affinity)
Construct a new instance.
|
static <T extends EJBObject> |
EntityEJBLocator.create(Class<T> viewType,
EJBIdentifier identifier,
Object primaryKey,
Affinity affinity)
Construct a new instance.
|
static <T> StatefulEJBLocator<T> |
StatefulEJBLocator.create(Class<T> viewType,
EJBIdentifier identifier,
SessionID sessionId,
Affinity affinity)
Construct a new instance.
|
static <T> StatelessEJBLocator<T> |
StatelessEJBLocator.create(EJBLocator<T> original,
Affinity newAffinity)
Construct a new instance.
|
static <T> StatefulEJBLocator<T> |
EJBClient.createSession(Affinity affinity,
Class<T> viewType,
String appName,
String moduleName,
String beanName)
Create a new EJB session.
|
static <T> StatefulEJBLocator<T> |
EJBClient.createSession(Affinity affinity,
Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName)
Create a new EJB session.
|
boolean |
URIAffinity.equals(Affinity other) |
boolean |
NodeAffinity.equals(Affinity other) |
boolean |
ClusterAffinity.equals(Affinity other) |
abstract boolean |
Affinity.equals(Affinity other) |
static void |
EJBClient.setStrongAffinity(Object proxy,
Affinity newAffinity)
Change the strong affinity of a proxy.
|
void |
EJBClientInvocationContext.setWeakAffinity(Affinity weakAffinity)
Set the invocation weak affinity.
|
static void |
EJBClient.setWeakAffinity(Object proxy,
Affinity newAffinity)
Change the weak affinity of a proxy.
|
StatelessEJBLocator<T> |
StatelessEJBLocator.withNewAffinity(Affinity affinity) |
StatefulEJBLocator<T> |
StatefulEJBLocator.withNewAffinity(Affinity affinity) |
EntityEJBLocator<T> |
EntityEJBLocator.withNewAffinity(Affinity affinity) |
abstract EJBLocator<T> |
EJBLocator.withNewAffinity(Affinity affinity)
Create a copy of this locator, but with the new given affinity.
|
EJBHomeLocator<T> |
EJBHomeLocator.withNewAffinity(Affinity affinity) |
StatefulEJBLocator<T> |
StatelessEJBLocator.withSessionAndAffinity(SessionID sessionId,
Affinity affinity) |
StatefulEJBLocator<T> |
StatefulEJBLocator.withSessionAndAffinity(SessionID sessionId,
Affinity affinity) |
StatefulEJBLocator<T> |
EJBLocator.withSessionAndAffinity(SessionID sessionId,
Affinity affinity)
Create a copy of this locator, but with the given affinity and stateful session ID.
|
Modifier and Type | Method and Description |
---|---|
static void |
EJBClient.transformStrongAffinity(Object proxy,
UnaryOperator<Affinity> transformOperator)
Transform the strong affinity of a proxy.
|
Constructor and Description |
---|
EJBHomeLocator(Class<T> viewType,
EJBIdentifier identifier,
Affinity affinity)
Construct a new instance.
|
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,
EJBIdentifier identifier,
Object primaryKey,
Affinity affinity)
Construct a new instance.
|
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,
EJBIdentifier identifier,
SessionID sessionId,
Affinity affinity)
Construct a new instance.
|
StatefulEJBLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
SessionID sessionId,
Affinity affinity)
Construct a new instance.
|
StatefulEJBLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName,
SessionID sessionId,
Affinity affinity)
Construct a new instance.
|
StatefulEJBLocator(EJBLocator<T> original,
SessionID sessionId,
Affinity newAffinity)
Construct a new instance.
|
StatefulEJBLocator(StatefulEJBLocator<T> original,
Affinity newAffinity)
Construct a new instance.
|
StatelessEJBLocator(Class<T> viewType,
EJBIdentifier identifier,
Affinity affinity)
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.
|
Modifier and Type | Method and Description |
---|---|
default Affinity |
InvocationRequest.Resolved.getWeakAffinity()
Get the weak affinity of the request.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.