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.

Since:
EJB 1.0

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

Method Detail

getEJBObject

EJBObject getEJBObject()
                       throws java.rmi.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.


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.