org.jboss.ejb.plugins
Class HandleWrapper

java.lang.Object
  extended by org.jboss.invocation.MarshalledValue
      extended by org.jboss.ejb.plugins.HandleWrapper
All Implemented Interfaces:
Externalizable, Serializable

public class HandleWrapper
extends MarshalledValue

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.

Version:
$Revision: 57209 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
HandleWrapper()
           
HandleWrapper(javax.ejb.Handle h)
           
 
Method Summary
 
Methods inherited from class org.jboss.invocation.MarshalledValue
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(javax.ejb.Handle h)
              throws IOException
Throws:
IOException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.