当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Interface Handle - Java Platform, Enterprise Edition v1.3.1 API Specifications
javax.ejb
Interface Handle
- All Superinterfaces:
- java.io.Serializable
- public interface Handle
- extends java.io.Serializable
The Handle interface is implemented by all EJB object handles. A handle
is an abstraction of a network reference to an EJB object. A handle is
intended to be used as a "robust" persistent reference to an EJB object.
getEJBObject
public EJBObject getEJBObject()
throws java.rmi.RemoteException
- Obtain the EJB object reference represented by this handle.
- Throws:
java.rmi.RemoteException
- The EJB object could not be obtained
because of a system-level failure.