T - the remote view typepublic final class StatefulEJBLocator<T> extends EJBLocator<T>
| Constructor and Description |
|---|
StatefulEJBLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName,
SessionID sessionId,
Affinity affinity)
Deprecated.
Since 1.0.2. Use
StatefulEJBLocator(Class, String, String, String, String, SessionID, Affinity, String) instead |
StatefulEJBLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName,
SessionID sessionId,
Affinity affinity,
String sessionOwnerNode)
Constructs a
StatefulEJBLocator |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(EJBLocator<?> other)
Determine whether this object is equal to another.
|
boolean |
equals(Object other)
Determine whether this object is equal to another.
|
boolean |
equals(StatefulEJBLocator<?> other)
Determine whether this object is equal to another.
|
SessionID |
getSessionId()
Get the session ID associated with this locator.
|
int |
hashCode()
Get the hash code for this instance.
|
String |
toString() |
createProxyInstance, getAffinity, getAppName, getBeanName, getDistinctName, getModuleName, getProxyClass, getProxyConstructor, getViewType@Deprecated public StatefulEJBLocator(Class<T> viewType, String appName, String moduleName, String beanName, String distinctName, SessionID sessionId, Affinity affinity)
StatefulEJBLocator(Class, String, String, String, String, SessionID, Affinity, String) insteadviewType - the view typeappName - the application namemoduleName - the module namebeanName - the bean namedistinctName - the distinct namesessionId - the stateful session IDaffinity - The Affinity for this stateful bean locatorpublic StatefulEJBLocator(Class<T> viewType, String appName, String moduleName, String beanName, String distinctName, SessionID sessionId, Affinity affinity, String sessionOwnerNode)
StatefulEJBLocatorviewType - the view typeappName - the application namemoduleName - the module namebeanName - the bean namedistinctName - the distinct namesessionId - the stateful session IDaffinity - The Affinity for this stateful bean locatorsessionOwnerNode - The name of the node on which the sessionId was generatedpublic SessionID getSessionId()
public int hashCode()
hashCode in class EJBLocator<T>public boolean equals(Object other)
equals in class EJBLocator<T>other - the other objecttrue if they are equal, false otherwisepublic boolean equals(EJBLocator<?> other)
equals in class EJBLocator<T>other - the other objecttrue if they are equal, false otherwisepublic boolean equals(StatefulEJBLocator<?> other)
other - the other objecttrue if they are equal, false otherwiseCopyright © 2018 JBoss by Red Hat. All rights reserved.