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 |
---|---|
static <T extends EJBHome> |
create(EJBHomeLocator<T> locator)
Construct a new instance.
|
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()
Get the locator for this handle.
|
int |
hashCode()
Get the hash code for this EJB home handle.
|
public EJBHomeHandle(EJBHomeLocator<T> locator)
locator
- the locator for the home interfacepublic static <T extends EJBHome> EJBHomeHandle<T> create(EJBHomeLocator<T> locator)
T
- the EJB home typelocator
- the locator for the home interface (must not be null
)null
)public 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 © 2017 JBoss by Red Hat. All rights reserved.