T
- the EJB remote interface typepublic final class EJBHandle<T extends EJBObject> extends Object implements Handle
Constructor and Description |
---|
EJBHandle(EJBLocator<T> locator)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(EJBHandle<?> other)
Determine whether this object is equal to another.
|
boolean |
equals(Object other)
Determine whether this object is equal to another.
|
T |
getEJBObject()
Obtains the EJB object reference represented by this handle.
|
EJBLocator<T> |
getLocator() |
int |
hashCode()
Get the hash code for this EJB handle.
|
public EJBHandle(EJBLocator<T> locator)
locator
- the locator for the EJB instancepublic T getEJBObject() throws RemoteException
getEJBObject
in interface Handle
RemoteException
- - The EJB object could not be obtained because of a
system-level failure.public boolean equals(Object other)
public boolean equals(EJBHandle<?> other)
other
- the other objecttrue
if they are equal, false
otherwisepublic int hashCode()
public EJBLocator<T> getLocator()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.