Name
HandleDelegate
Synopsis
The HandleDelegate
is used internally by implementations of Handles
and HomeHandles
. It is used to read and write EJB home and object
references to I/O streams. An implementation of the HandleDelegate
is
provided to Handle
and HomeHandles
through its JNDI namespace, using
the name "java:comp/HandleDelegate
"
public interface HandleDelegate { // Public Instance Methods public abstract EJBHome readEJBHome( ObjectInputStream istream) throws IOExceptionClassNotFoundException; public abstract EJBObject readEJBObject( ObjectInputStream istream) throws IOExceptionClassNotFoundException; public abstract void writeEJBHome(EJBHome ejbHome, ObjectOutputStream ostream) throws IOException; public abstract void writeEJBObject(EJBObject ejbObject, ObjectOutputStream ostream) throws IOException; }
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.