Top Description Methods
javax.ejb

public Interface Handle

extends Serializable
Imports
java.rmi.RemoteException

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.
Since
EJB 1.0

Method Summary

Modifier and TypeMethod and Description
public EJBObject

Returns:

the EJB object reference represented by this handle.
getEJBObject
()

Obtain the EJB object reference represented by this handle.

Method Detail

getEJBObjectback to summary
public EJBObject getEJBObject() throws RemoteException

Obtain the EJB object reference represented by this handle.

Returns:EJBObject

the EJB object reference represented by this handle.

Exceptions
RemoteException:
The EJB object could not be obtained because of a system-level failure.