public class HandleDelegateImpl extends Object implements javax.ejb.spi.HandleDelegate
Implementation of the javax.ejb.spi.HandleDelegate interface
The HandleDelegate interface is implemented by the Jakarta Enterprise Beans container. It is used by portable implementations of javax.ejb.Handle and javax.ejb.HomeHandle. It is not used by Jakarta Enterprise Beans components or by client components. It provides methods to serialize and deserialize Jakarta Enterprise Beans Object and Jakarta Enterprise Beans Home references to streams.
The HandleDelegate object is obtained by JNDI lookup at the reserved name "java:comp/HandleDelegate".
| Constructor and Description |
|---|
HandleDelegateImpl(ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
static javax.ejb.spi.HandleDelegate |
getDelegate() |
javax.ejb.EJBHome |
readEJBHome(ObjectInputStream oistream) |
javax.ejb.EJBObject |
readEJBObject(ObjectInputStream oistream) |
protected void |
reconnect(Object object) |
void |
writeEJBHome(javax.ejb.EJBHome ejbHome,
ObjectOutputStream oostream) |
void |
writeEJBObject(javax.ejb.EJBObject ejbObject,
ObjectOutputStream oostream) |
public HandleDelegateImpl(ClassLoader classLoader)
public void writeEJBObject(javax.ejb.EJBObject ejbObject,
ObjectOutputStream oostream)
throws IOException
writeEJBObject in interface javax.ejb.spi.HandleDelegateIOExceptionpublic javax.ejb.EJBObject readEJBObject(ObjectInputStream oistream) throws IOException, ClassNotFoundException
readEJBObject in interface javax.ejb.spi.HandleDelegateIOExceptionClassNotFoundExceptionpublic void writeEJBHome(javax.ejb.EJBHome ejbHome,
ObjectOutputStream oostream)
throws IOException
writeEJBHome in interface javax.ejb.spi.HandleDelegateIOExceptionpublic javax.ejb.EJBHome readEJBHome(ObjectInputStream oistream) throws IOException, ClassNotFoundException
readEJBHome in interface javax.ejb.spi.HandleDelegateIOExceptionClassNotFoundExceptionprotected void reconnect(Object object) throws IOException
IOExceptionpublic static javax.ejb.spi.HandleDelegate getDelegate()
Copyright © 2022 JBoss by Red Hat. All rights reserved.