Handle (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.ejb Interface Handle

所有父接口:
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.


方法摘要
 EJBObject getEJBObject()
          Obtain the EJB object reference represented by this handle.
 

方法详细信息

getEJBObject

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

返回:
the EJB object reference represented by this handle.
抛出异常:
RemoteException - The EJB object could not be obtained because of a system-level failure.

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.