T
- the EJB remote home interface typepublic final class EJBHomeHandle<T extends EJBHome> extends Object implements HomeHandle
Constructor and Description |
---|
EJBHomeHandle(EJBHomeLocator<T> locator)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(EJBHomeHandle<?> other)
Determine whether this object is equal to another.
|
boolean |
equals(Object other)
Determine whether this object is equal to another.
|
T |
getEJBHome()
Obtains the home object represented by this handle.
|
EJBHomeLocator<T> |
getLocator() |
int |
hashCode()
Get the hash code for this EJB home handle.
|
public EJBHomeHandle(EJBHomeLocator<T> locator)
locator
- the locator for the home interfacepublic T getEJBHome() throws RemoteException
getEJBHome
in interface HomeHandle
RemoteException
- - The home object could not be obtained because of a
system-level failure.public boolean equals(Object other)
public boolean equals(EJBHomeHandle<?> other)
other
- the other objecttrue
if they are equal, false
otherwisepublic int hashCode()
public EJBHomeLocator<T> getLocator()
Copyright © 2018 JBoss by Red Hat. All rights reserved.