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

Handle (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


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()
          Obtains the EJB object reference represented by this handle.
 

Method Detail

getEJBObject

public EJBObject getEJBObject()
                       throws RemoteException
Obtains 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.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.