T
- the remote view typepublic final class StatelessEJBLocator<T> extends EJBLocator<T>
Constructor and Description |
---|
StatelessEJBLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName)
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)
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 |
---|---|
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(StatelessEJBLocator<?> other)
Determine whether this object is equal to another.
|
int |
hashCode()
Get the hash code for this instance.
|
<S> StatelessEJBLocator<? extends S> |
narrowAsStateless(Class<S> type)
Narrow this locator to the target type as a stateless locator.
|
<S> StatelessEJBLocator<? extends S> |
narrowTo(Class<S> type)
Narrow this locator to the target type.
|
EJBLocator<T> |
withNewAffinity(Affinity affinity)
Create a copy of this locator, but with the new given affinity.
|
createProxyInstance, getAffinity, getAppName, getBeanName, getDistinctName, getModuleName, getProxyClass, getProxyConstructor, getViewType, narrowAsEntity, narrowAsHome, narrowAsStateful, toString
public StatelessEJBLocator(Class<T> viewType, String appName, String moduleName, String beanName)
viewType
- the view typeappName
- the application namemoduleName
- the module namebeanName
- the bean namepublic StatelessEJBLocator(Class<T> viewType, String appName, String moduleName, String beanName, Affinity affinity)
viewType
- the view typeappName
- the application namemoduleName
- the module namebeanName
- the bean nameaffinity
- the affinitypublic StatelessEJBLocator(Class<T> viewType, String appName, String moduleName, String beanName, String distinctName)
viewType
- the view typeappName
- the application namemoduleName
- the module namebeanName
- the bean namedistinctName
- the distinct namepublic StatelessEJBLocator(Class<T> viewType, String appName, String moduleName, String beanName, String distinctName, Affinity affinity)
viewType
- the view typeappName
- the application namemoduleName
- the module namebeanName
- the bean namedistinctName
- the distinct nameaffinity
- the affinitypublic StatelessEJBLocator(StatelessEJBLocator<T> original, Affinity newAffinity)
original
- the original locatornewAffinity
- the new affinitypublic EJBLocator<T> withNewAffinity(Affinity affinity)
EJBLocator
withNewAffinity
in class EJBLocator<T>
affinity
- the new affinitypublic <S> StatelessEJBLocator<? extends S> narrowTo(Class<S> type)
EJBLocator
narrowTo
in class EJBLocator<T>
S
- the target typetype
- the target type classpublic <S> StatelessEJBLocator<? extends S> narrowAsStateless(Class<S> type)
EJBLocator
narrowAsStateless
in class EJBLocator<T>
S
- the target typetype
- the target type classpublic 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(StatelessEJBLocator<?> other)
other
- the other objecttrue
if they are equal, false
otherwiseCopyright © 2016 JBoss by Red Hat. All rights reserved.