org.jboss.proxy.ejb.handle
Class EntityHandleImpl

java.lang.Object
  extended by org.jboss.proxy.ejb.handle.EntityHandleImpl
All Implemented Interfaces:
Serializable, javax.ejb.Handle

public class EntityHandleImpl
extends Object
implements javax.ejb.Handle

An EJB entity bean handle implementation.

Version:
$Revision: 57209 $
Author:
Marc Fleury., Jason Dillon, Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
EntityHandleImpl(String jndiName, Object id)
          Construct a EntityHandleImpl.
 
Method Summary
 javax.ejb.EJBObject getEJBObject()
          Handle implementation.
 Object getID()
           
 String getJNDIName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityHandleImpl

public EntityHandleImpl(String jndiName,
                        Object id)
Construct a EntityHandleImpl.

Parameters:
jndiName - JNDI name.
id - Primary key of the entity.
Method Detail

getEJBObject

public javax.ejb.EJBObject getEJBObject()
                                 throws RemoteException
Handle implementation.

Specified by:
getEJBObject in interface javax.ejb.Handle
Returns:
EJBObject reference.
Throws:
ServerException - Could not get EJBObject.
RemoteException

getID

public Object getID()
Returns:
the primary key

getJNDIName

public String getJNDIName()
Returns:
the jndi name


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.