Package org.jboss.as.ejb3.iiop.handle
Class HandleDelegateImpl
java.lang.Object
org.jboss.as.ejb3.iiop.handle.HandleDelegateImpl
- All Implemented Interfaces:
jakarta.ejb.spi.HandleDelegate
Implementation of the jakarta.ejb.spi.HandleDelegate interface
The HandleDelegate interface is implemented by the Jakarta Enterprise Beans container. It is used by portable implementations of jakarta.ejb.Handle and jakarta.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".
- Author:
- Dimitris.Andreadis@jboss.org, adrian@jboss.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.ejb.spi.HandleDelegatejakarta.ejb.EJBHomereadEJBHome(ObjectInputStream oistream) jakarta.ejb.EJBObjectreadEJBObject(ObjectInputStream oistream) protected voidvoidwriteEJBHome(jakarta.ejb.EJBHome ejbHome, ObjectOutputStream oostream) voidwriteEJBObject(jakarta.ejb.EJBObject ejbObject, ObjectOutputStream oostream)
-
Constructor Details
-
HandleDelegateImpl
-
-
Method Details
-
writeEJBObject
public void writeEJBObject(jakarta.ejb.EJBObject ejbObject, ObjectOutputStream oostream) throws IOException - Specified by:
writeEJBObjectin interfacejakarta.ejb.spi.HandleDelegate- Throws:
IOException
-
readEJBObject
public jakarta.ejb.EJBObject readEJBObject(ObjectInputStream oistream) throws IOException, ClassNotFoundException - Specified by:
readEJBObjectin interfacejakarta.ejb.spi.HandleDelegate- Throws:
IOExceptionClassNotFoundException
-
writeEJBHome
public void writeEJBHome(jakarta.ejb.EJBHome ejbHome, ObjectOutputStream oostream) throws IOException - Specified by:
writeEJBHomein interfacejakarta.ejb.spi.HandleDelegate- Throws:
IOException
-
readEJBHome
public jakarta.ejb.EJBHome readEJBHome(ObjectInputStream oistream) throws IOException, ClassNotFoundException - Specified by:
readEJBHomein interfacejakarta.ejb.spi.HandleDelegate- Throws:
IOExceptionClassNotFoundException
-
reconnect
- Throws:
IOException
-
getDelegate
public static jakarta.ejb.spi.HandleDelegate getDelegate()
-