Uses of Class
org.jboss.ejb.client.Affinity
Packages that use Affinity
-
Uses of Affinity in org.jboss.ejb._private
Methods in org.jboss.ejb._private with parameters of type AffinityModifier and TypeMethodDescriptionfinal CommunicationExceptionLogs_$logger.nullSessionCreated(Name resolvedName, Name name, Affinity affinity, EJBIdentifier identifier) Logs.nullSessionCreated(Name resolvedName, Name name, Affinity affinity, EJBIdentifier identifier) -
Uses of Affinity in org.jboss.ejb.client
Subclasses of Affinity in org.jboss.ejb.clientModifier and TypeClassDescriptionfinal classA cluster affinity specification.final classA single node affinity specification.final classA URI affinity specification.Fields in org.jboss.ejb.client declared as AffinityModifier and TypeFieldDescriptionstatic final AffinityAffinity.LOCALThe specification for the local Enterprise Beans environment.static final AffinityAffinity.NONEThe specification for no particular affinity.Fields in org.jboss.ejb.client with type parameters of type AffinityModifier and TypeFieldDescriptionstatic final AttachmentKey<Affinity>AttachmentKeys.WEAK_AFFINITYThe preferred node or cluster for invocations from this proxy.Methods in org.jboss.ejb.client that return AffinityModifier and TypeMethodDescriptionstatic AffinityGet the affinity specification corresponding to the given URI.EJBLocator.getAffinity()Get the locator affinity.static AffinityEJBClient.getStrongAffinity(Object proxy) Get the strong affinity of a proxy.AbstractInvocationContext.getTargetAffinity()Get the resolved target affinity of this invocation.AbstractInvocationContext.getWeakAffinity()Get the invocation weak affinity.static AffinityEJBClient.getWeakAffinity(Object proxy) Get the current weak affinity of a proxy.Methods in org.jboss.ejb.client with parameters of type AffinityModifier and TypeMethodDescriptionstatic booleanEJBClient.compareAndSetStrongAffinity(Object proxy, Affinity expectedAffinity, Affinity newAffinity) Compare and change the strong affinity of a proxy.static <T extends jakarta.ejb.EJBHome>
EJBHomeLocator<T>EJBHomeLocator.create(Class<T> viewType, EJBIdentifier identifier, Affinity affinity) Construct a new instance.static <T extends jakarta.ejb.EJBObject>
EntityEJBLocator<T>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(Class<T> viewType, EJBIdentifier identifier, 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 Enterprise Bean session.static <T> StatefulEJBLocator<T>EJBClient.createSession(Affinity affinity, Class<T> viewType, String appName, String moduleName, String beanName, String distinctName) Create a new Enterprise Bean session.abstract booleanbooleanbooleanbooleanstatic voidEJBClient.setStrongAffinity(Object proxy, Affinity newAffinity) Change the strong affinity of a proxy.voidAbstractInvocationContext.setTargetAffinity(Affinity targetAffinity) Set the resolved target affinity of this invocation.voidAbstractInvocationContext.setWeakAffinity(Affinity weakAffinity) Set the invocation weak affinity.static voidEJBClient.setWeakAffinity(Object proxy, Affinity newAffinity) Change the weak affinity of a proxy.EJBHomeLocator.withNewAffinity(Affinity affinity) abstract EJBLocator<T>EJBLocator.withNewAffinity(Affinity affinity) Create a copy of this locator, but with the new given affinity.EntityEJBLocator.withNewAffinity(Affinity affinity) StatefulEJBLocator.withNewAffinity(Affinity affinity) StatelessEJBLocator.withNewAffinity(Affinity affinity) EJBLocator.withSessionAndAffinity(SessionID sessionId, Affinity affinity) Create a copy of this locator, but with the given affinity and stateful session ID.StatefulEJBLocator.withSessionAndAffinity(SessionID sessionId, Affinity affinity) StatelessEJBLocator.withSessionAndAffinity(SessionID sessionId, Affinity affinity) Method parameters in org.jboss.ejb.client with type arguments of type AffinityModifier and TypeMethodDescriptionstatic voidEJBClient.transformStrongAffinity(Object proxy, UnaryOperator<Affinity> transformOperator) Transform the strong affinity of a proxy.Constructors in org.jboss.ejb.client with parameters of type AffinityModifierConstructorDescriptionEJBHomeLocator(Class<T> viewType, String appName, String moduleName, String beanName, String distinctName, 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, EJBIdentifier identifier, 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(Class<T> viewType, EJBIdentifier identifier, 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) 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, EJBIdentifier identifier, 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, String appName, String moduleName, String beanName, String distinctName, 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, EJBIdentifier identifier, Affinity affinity) Construct a new instance.StatelessEJBLocator(StatelessEJBLocator<T> original, Affinity newAffinity) Construct a new instance. -
Uses of Affinity in org.jboss.ejb.server
Methods in org.jboss.ejb.server that return AffinityModifier and TypeMethodDescriptiondefault AffinityInvocationRequest.Resolved.getWeakAffinity()Get the weak affinity of the request.Methods in org.jboss.ejb.server with parameters of type AffinityModifier and TypeMethodDescriptiondefault voidRequest.updateStrongAffinity(Affinity affinity) Hint to the implementation that the strong affinity of the client proxy should be updated if possible.default voidRequest.updateWeakAffinity(Affinity affinity) Hint to the implementation that the weak affinity of the client proxy should be updated if possible.