T
- the remote view typepublic final class EJBHomeLocator<T extends EJBHome> extends EJBLocator<T>
Constructor and Description |
---|
EJBHomeLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName)
Construct a new instance.
|
EJBHomeLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
Affinity affinity)
Construct a new instance.
|
EJBHomeLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName)
Construct a new instance.
|
EJBHomeLocator(Class<T> viewType,
String appName,
String moduleName,
String beanName,
String distinctName,
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(EJBHomeLocator<?> other)
Determine whether this object is equal to another.
|
boolean |
equals(EJBLocator<?> other)
Determine whether this object is equal to another.
|
boolean |
equals(Object other)
Determine whether this object is equal to another.
|
int |
hashCode()
Get the hash code for this instance.
|
<S extends EJBHome> |
narrowAsHome(Class<S> type)
Narrow this locator to the target type as a home locator.
|
<S> EJBHomeLocator<? 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, narrowAsStateful, narrowAsStateless, toString
public EJBHomeLocator(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 EJBHomeLocator(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 EJBHomeLocator(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 EJBHomeLocator(Class<T> viewType, String appName, String moduleName, String beanName)
viewType
- the view typeappName
- the application namemoduleName
- the module namebeanName
- the bean namepublic EJBHomeLocator(EJBHomeLocator<T> original, Affinity newAffinity)
original
- the original locatornewAffinity
- the new affinity to usepublic EJBLocator<T> withNewAffinity(Affinity affinity)
EJBLocator
withNewAffinity
in class EJBLocator<T extends EJBHome>
affinity
- the new affinitypublic int hashCode()
hashCode
in class EJBLocator<T extends EJBHome>
public boolean equals(Object other)
equals
in class EJBLocator<T extends EJBHome>
other
- the other objecttrue
if they are equal, false
otherwisepublic <S> EJBHomeLocator<? extends S> narrowTo(Class<S> type)
EJBLocator
narrowTo
in class EJBLocator<T extends EJBHome>
S
- the target typetype
- the target type classpublic <S extends EJBHome> EJBHomeLocator<? extends S> narrowAsHome(Class<S> type)
EJBLocator
narrowAsHome
in class EJBLocator<T extends EJBHome>
S
- the target typetype
- the target type classpublic boolean equals(EJBLocator<?> other)
equals
in class EJBLocator<T extends EJBHome>
other
- the other objecttrue
if they are equal, false
otherwisepublic boolean equals(EJBHomeLocator<?> other)
other
- the other objecttrue
if they are equal, false
otherwiseCopyright © 2016 JBoss by Red Hat. All rights reserved.