org.openejb.client
Interface EJBObjectProxy

All Superinterfaces:
javax.ejb.EJBObject, Remote, Serializable

public interface EJBObjectProxy
extends Serializable, javax.ejb.EJBObject

Since:
11/25/2001
Author:
David Blevins

Method Summary
 EJBObjectHandler getEJBObjectHandler()
          Returns the EJBObjectImpl acting as handler for this proxy
 Object readResolve()
          Read the handler from the stream.
 Object writeReplace()
          Write the Handler to the stream.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getEJBObjectHandler

public EJBObjectHandler getEJBObjectHandler()
Returns the EJBObjectImpl acting as handler for this proxy

Returns:
EJBObjectHandler

writeReplace

public Object writeReplace()
                    throws ObjectStreamException
Write the Handler to the stream.

Returns:
Object
Throws:
ObjectStreamException

readResolve

public Object readResolve()
                   throws ObjectStreamException
Read the handler from the stream. Create a new EJBObjectProxy with it, return that.

Returns:
Object
Throws:
ObjectStreamException


Copyright © 1999-2007 OpenEJB. All Rights Reserved.