org.ow2.jonas.lib.ejb21
Class JWrapper

java.lang.Object
  extended by org.ow2.jonas.lib.ejb21.JWrapper
All Implemented Interfaces:
Serializable

public class JWrapper
extends Object
implements 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 LOCAL_ENTITY
           
static int LOCAL_HOME
           
static int NAMING_CONTEXT
           
static int SESSION_CTX
           
static int USER_TX
           
 
Constructor Summary
JWrapper(int type, Object arg)
           
JWrapper(int type, String jndi, Object pk)
           
 
Method Summary
 Object getObject()
           
 Object getPK()
           
 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

LOCAL_HOME

public static final int LOCAL_HOME
See Also:
Constant Field Values

LOCAL_ENTITY

public static final int LOCAL_ENTITY
See Also:
Constant Field Values

NAMING_CONTEXT

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

JWrapper

public JWrapper(int type,
                Object arg)

JWrapper

public JWrapper(int type,
                String jndi,
                Object pk)
Method Detail

getType

public int getType()

getObject

public Object getObject()

getPK

public Object getPK()


Copyright © 2010 OW2 Consortium. All Rights Reserved.