org.jboss.ejb.plugins
Class HandleWrapper

java.lang.Object
  extended byorg.jboss.invocation.MarshalledValue (src) 
      extended byorg.jboss.ejb.plugins.HandleWrapper
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class HandleWrapper
extends MarshalledValue (src)

A wrapper for javax.ejb.Handle ivars of stateful sessions. This is needed to prevent a handle being written out and then converted to the corresponding EJBObject by the SessionObjectInputStream.resolveObject code since this will result in a ClassCastException when the EJBObject is assigned to the Handle ivar.

See Also:
Serialized Form

Constructor Summary
HandleWrapper()
           
HandleWrapper(Handle (src)  h)
           
 
Methods inherited from class org.jboss.invocation.MarshalledValue (src)
equals, get, hashCode, readExternal, size, toByteArray, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandleWrapper

public HandleWrapper()

HandleWrapper

public HandleWrapper(Handle (src)  h)
              throws java.io.IOException