JBoss EJB client 1.0.3.Final

org.jboss.ejb.client
Class EJBHomeHandle<T extends javax.ejb.EJBHome>

java.lang.Object
  extended by org.jboss.ejb.client.EJBHomeHandle<T>
Type Parameters:
T - the EJB remote home interface type
All Implemented Interfaces:
Serializable, javax.ejb.HomeHandle

public final class EJBHomeHandle<T extends javax.ejb.EJBHome>
extends Object
implements javax.ejb.HomeHandle

A handle for an EJB home interface.

Author:
David M. Lloyd
See Also:
Serialized Form

Constructor Summary
EJBHomeHandle(EJBHomeLocator<T> locator)
          Construct a new instance.
 
Method Summary
 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()
          
 EJBHomeLocator<T> getLocator()
           
 int hashCode()
          Get the hash code for this EJB home handle.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBHomeHandle

public EJBHomeHandle(EJBHomeLocator<T> locator)
Construct a new instance.

Parameters:
locator - the locator for the home interface
Method Detail

getEJBHome

public T getEJBHome()
                                       throws RemoteException

Specified by:
getEJBHome in interface javax.ejb.HomeHandle
Throws:
RemoteException

equals

public boolean equals(Object other)
Determine whether this object is equal to another.

Overrides:
equals in class Object
Parameters:
other - the other object
Returns:
true if they are equal, false otherwise

equals

public boolean equals(EJBHomeHandle<?> other)
Determine whether this object is equal to another.

Parameters:
other - the other object
Returns:
true if they are equal, false otherwise

hashCode

public int hashCode()
Get the hash code for this EJB home handle.

Overrides:
hashCode in class Object
Returns:
the hash code

getLocator

public EJBHomeLocator<T> getLocator()
Returns:
The EJB locator for this home handle

JBoss EJB client 1.0.3.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.