org.openejb.client
Interface EJBObjectProxy

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

public interface EJBObjectProxy
extends Serializable, javax.ejb.EJBObject

Since:
11/25/2001

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:

writeReplace

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

Returns:
Throws:
ObjectStreamException

readResolve

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

Returns:
Throws:
ObjectStreamException


Copyright © 1999-2005 OpenEJB. All Rights Reserved.