站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

Handle (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

javax.ejb
Interface Handle

All Superinterfaces:
Serializable

public interface Handle
extends 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.


Method Summary
 EJBObject getEJBObject()
          Obtain the EJB object reference represented by this handle.
 

Method Detail

getEJBObject

EJBObject getEJBObject()
                       throws RemoteException
Obtain the EJB object reference represented by this handle.

Returns:
the EJB object reference represented by this handle.
Throws:
RemoteException - The EJB object could not be obtained because of a system-level failure.

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.