Package org.jboss.ejb.client
Class URIAffinity
java.lang.Object
org.jboss.ejb.client.Affinity
org.jboss.ejb.client.URIAffinity
- All Implemented Interfaces:
Serializable
A URI affinity specification. Create instances using
Affinity.forUri(URI).- Author:
- David M. Lloyd
- See Also:
-
Field Summary
Fields inherited from class org.jboss.ejb.client.Affinity
LOCAL, NONE, WEAK_AFFINITY_CONTEXT_KEY -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
URIAffinity
Construct a new instance.- Parameters:
uri- the URI to bind to (must not benull)
-
-
Method Details
-
getUri
Description copied from class:AffinityGet the associated URI. -
toString
-
equals
-
equals
-
equals
-
hashCode
public int hashCode()
-