当前页面:
在线文档首页 >
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
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityHandleImpl
public EntityHandleImpl(String jndiName,
Object id)
- Construct a EntityHandleImpl.
- Parameters:
id
- Primary key of the entity.
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.