站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

EntityHandleImpl (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.proxy.ejb.handle
Class EntityHandleImpl

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

public class EntityHandleImpl
extends Object
implements javax.ejb.Handle

An EJB entity bean handle implementation.

Version:
$Revision: 1.3 $
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:
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.