Uses of Class
org.jboss.ejb.client.Affinity
-
Packages that use Affinity Package Description org.jboss.ejb._private org.jboss.ejb.client org.jboss.ejb.server -
-
Uses of Affinity in org.jboss.ejb._private
Methods in org.jboss.ejb._private with parameters of type Affinity Modifier and Type Method Description CommunicationExceptionLogs_$logger. nullSessionCreated(Name resolvedName, Name name, Affinity affinity, EJBIdentifier identifier)CommunicationExceptionLogs. nullSessionCreated(Name resolvedName, Name name, Affinity affinity, EJBIdentifier identifier) -
Uses of Affinity in org.jboss.ejb.client
Subclasses of Affinity in org.jboss.ejb.client Modifier and Type Class Description classClusterAffinityA cluster affinity specification.classNodeAffinityA single node affinity specification.classURIAffinityA URI affinity specification.Fields in org.jboss.ejb.client declared as Affinity Modifier and Type Field Description static AffinityAffinity. LOCALThe specification for the local EJB environment.static AffinityAffinity. NONEThe specification for no particular affinity.Fields in org.jboss.ejb.client with type parameters of type Affinity Modifier and Type Field Description static AttachmentKey<Affinity>AttachmentKeys. WEAK_AFFINITYThe preferred node or cluster for invocations from this proxy.Methods in org.jboss.ejb.client that return Affinity Modifier and Type Method Description static AffinityAffinity. forUri(URI uri)Get the affinity specification corresponding to the given URI.AffinityEJBLocator. getAffinity()Get the locator affinity.static AffinityEJBClient. getStrongAffinity(Object proxy)Get the strong affinity of a proxy.AffinityAbstractInvocationContext. getTargetAffinity()Get the resolved target affinity of this invocation.AffinityAbstractInvocationContext. 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 Affinity Modifier and Type Method Description static booleanEJBClient. compareAndSetStrongAffinity(Object proxy, Affinity expectedAffinity, Affinity newAffinity)Compare and change the strong affinity of a proxy.static <T extends javax.ejb.EJBHome>
EJBHomeLocator<T>EJBHomeLocator. create(Class<T> viewType, EJBIdentifier identifier, Affinity affinity)Construct a new instance.static <T extends javax.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 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.abstract booleanAffinity. equals(Affinity other)booleanClusterAffinity. equals(Affinity other)booleanNodeAffinity. equals(Affinity other)booleanURIAffinity. equals(Affinity other)static 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<T>EJBHomeLocator. withNewAffinity(Affinity affinity)abstract EJBLocator<T>EJBLocator. withNewAffinity(Affinity affinity)Create a copy of this locator, but with the new given affinity.EntityEJBLocator<T>EntityEJBLocator. withNewAffinity(Affinity affinity)StatefulEJBLocator<T>StatefulEJBLocator. withNewAffinity(Affinity affinity)StatelessEJBLocator<T>StatelessEJBLocator. withNewAffinity(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.StatefulEJBLocator<T>StatefulEJBLocator. withSessionAndAffinity(SessionID sessionId, Affinity affinity)StatefulEJBLocator<T>StatelessEJBLocator. withSessionAndAffinity(SessionID sessionId, Affinity affinity)Method parameters in org.jboss.ejb.client with type arguments of type Affinity Modifier and Type Method Description static voidEJBClient. transformStrongAffinity(Object proxy, UnaryOperator<Affinity> transformOperator)Transform the strong affinity of a proxy.Constructors in org.jboss.ejb.client with parameters of type Affinity Constructor Description EJBHomeLocator(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 Affinity Modifier and Type Method Description default AffinityInvocationRequest.Resolved. getWeakAffinity()Get the weak affinity of the request.Methods in org.jboss.ejb.server with parameters of type Affinity Modifier and Type Method Description default 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.
-