com.caucho.ejb.session
Class AbstractSessionObject

java.lang.Object
  extended by com.caucho.ejb.AbstractEJBObject
      extended by com.caucho.ejb.session.AbstractSessionObject
All Implemented Interfaces:
java.io.Serializable

public abstract class AbstractSessionObject
extends AbstractEJBObject
implements java.io.Serializable

Abstract base class for a 3.0 session object

See Also:
Serialized Form

Field Summary
protected  java.lang.Class _businessInterface
           
 
Constructor Summary
AbstractSessionObject()
           
 
Method Summary
 java.lang.Class __caucho_getBusinessInterface()
          Returns the business interface.
 java.lang.String __caucho_getId()
          The home id is null.
 AbstractServer __caucho_getServer()
          Returns the server.
 void __caucho_setBusinessInterface(java.lang.Class businessInterface)
          Sets the business interface.
 SessionBean _getObject()
           
 Handle getHandle()
          Returns the handle.
 java.lang.Object getPrimaryKey()
           
abstract  AbstractServer getServer()
          Returns the server.
 java.lang.Object writeReplace()
          Serialize the HomeSkeletonWrapper in place of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_businessInterface

protected java.lang.Class _businessInterface
Constructor Detail

AbstractSessionObject

public AbstractSessionObject()
Method Detail

_getObject

public SessionBean _getObject()

getServer

public abstract AbstractServer getServer()
Returns the server.


getHandle

public Handle getHandle()
Returns the handle.


getPrimaryKey

public java.lang.Object getPrimaryKey()

__caucho_getServer

public AbstractServer __caucho_getServer()
Returns the server.

Specified by:
__caucho_getServer in class AbstractEJBObject

__caucho_getId

public java.lang.String __caucho_getId()
The home id is null.

Specified by:
__caucho_getId in class AbstractEJBObject

__caucho_getBusinessInterface

public java.lang.Class __caucho_getBusinessInterface()
Returns the business interface.


__caucho_setBusinessInterface

public void __caucho_setBusinessInterface(java.lang.Class businessInterface)
Sets the business interface.


writeReplace

public java.lang.Object writeReplace()
                              throws java.io.ObjectStreamException
Serialize the HomeSkeletonWrapper in place of this object.

Returns:
the matching skeleton wrapper.
Throws:
java.io.ObjectStreamException