org.objectweb.jonas_ejb.container
Class JEntityRemote

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--org.objectweb.common.RemoteObject
                          |
                          +--org.objectweb.jonas_ejb.container.JRemote
                                |
                                +--org.objectweb.jonas_ejb.container.JEntityRemote
All Implemented Interfaces:
javax.ejb.EJBObject, java.rmi.Remote, java.io.Serializable

public abstract class JEntityRemote
extends JRemote

Generic part of the EJBObject implementation

See Also:
Serialized Form

Field Summary
protected  JEntitySwitch bs
           
protected  JEntityFactory ebf
           
 
Fields inherited from class org.objectweb.jonas_ejb.container.JRemote
bf
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
JEntityRemote(JEntityFactory bf)
          constructor
 
Method Summary
 javax.ejb.EJBHome getEJBHome()
          Returns the enterprise Bean's home interface.
 java.lang.Object getPrimaryKey()
          returns the Primary Key for this EJBObject
 boolean isIdentical(javax.ejb.EJBObject obj)
          Tests if a given EJB is identical to the invoked EJB object.
 void postInvoke(RequestCtx rctx)
           
 RequestCtx preInvoke(int txa, java.lang.String secu)
           
 void setEntitySwitch(JEntitySwitch bs)
          finish initialization
 
Methods inherited from class org.objectweb.jonas_ejb.container.JRemote
exportObject, unexportObject
 
Methods inherited from class org.objectweb.common.RemoteObject
getPort, setPort
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.ejb.EJBObject
getHandle, remove
 

Field Detail

ebf

protected JEntityFactory ebf

bs

protected JEntitySwitch bs
Constructor Detail

JEntityRemote

public JEntityRemote(JEntityFactory bf)
              throws java.rmi.RemoteException
constructor
Method Detail

setEntitySwitch

public void setEntitySwitch(JEntitySwitch bs)
finish initialization

getEJBHome

public javax.ejb.EJBHome getEJBHome()
Returns the enterprise Bean's home interface.

getPrimaryKey

public java.lang.Object getPrimaryKey()
returns the Primary Key for this EJBObject

isIdentical

public boolean isIdentical(javax.ejb.EJBObject obj)
                    throws java.rmi.RemoteException
Tests if a given EJB is identical to the invoked EJB object.
Parameters:
EJBObject - obj - An object to test for identity with the invoked object.
Returns:
True if the given EJB object is identical to the invoked object.
Throws:
RemoteException: - Thrown when the method failed due to a system-level failure.

preInvoke

public RequestCtx preInvoke(int txa,
                            java.lang.String secu)
                     throws java.rmi.RemoteException

postInvoke

public void postInvoke(RequestCtx rctx)
                throws java.rmi.RemoteException