站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

HandleWrapper (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins
Class HandleWrapper

java.lang.Object
  extended byorg.jboss.invocation.MarshalledValue
      extended byorg.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: 1.2 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
HandleWrapper()
           
HandleWrapper(javax.ejb.Handle h)
           
 
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


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