org.objectweb.jonas_ejb.container
Class JWrapper

java.lang.Object
  extended byorg.objectweb.jonas_ejb.container.JWrapper
All Implemented Interfaces:
java.io.Serializable

public class JWrapper
extends java.lang.Object
implements java.io.Serializable

This class is just a wrapper to encapsulate some fields of a Stateful Session bean when it is serialized.

Author:
durieuxp
See Also:
Serialized Form

Field Summary
static int HANDLE
           
static int SESSION_CTX
           
static int USER_TX
           
 
Constructor Summary
JWrapper(int type, java.lang.Object arg)
           
 
Method Summary
 java.lang.Object getObject()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_TX

public static final int USER_TX
See Also:
Constant Field Values

SESSION_CTX

public static final int SESSION_CTX
See Also:
Constant Field Values

HANDLE

public static final int HANDLE
See Also:
Constant Field Values
Constructor Detail

JWrapper

public JWrapper(int type,
                java.lang.Object arg)
Method Detail

getType

public int getType()

getObject

public java.lang.Object getObject()