Package org.jboss.as.ejb3.iiop.handle
Class SerializationHackProxy
- java.lang.Object
-
- org.jboss.as.ejb3.iiop.handle.SerializationHackProxy
-
public abstract class SerializationHackProxy extends Object
As ObjectInputStream is broken it looks for the class loader of the last non JDK object on the stack. As this would normally be from the ejb3 module which can't see deployment modules, we instead define a proxy in the deployment class loader, that simply calls readObject.- Author:
- Stuart Douglas, Richard Opalka
-
-
Constructor Summary
Constructors Constructor Description SerializationHackProxy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SerializationHackProxyproxy(ClassLoader loader)Objectread(ObjectInputStream stream)
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
read
public Object read(ObjectInputStream stream)
-
proxy
public static final SerializationHackProxy proxy(ClassLoader loader)
-
-