org.objectweb.jonas.rmifilters
Class SecurityRemoteStub

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteStub
              |
              +--org.objectweb.jonas.rmifilters.SecurityRemoteStub
All Implemented Interfaces:
java.rmi.Remote, java.io.Serializable

public class SecurityRemoteStub
extends java.rmi.server.RemoteStub

The RemoteStub class is the common superclass to all client stubs generated by the rmic compiler used for the implicit transactional context propagation. invoke() inserts in the ObjectOutputStream the Control object corresponding to the current transaction.

See Also:
Serialized Form

Field Summary
protected static org.objectweb.util.monolog.api.Logger logger
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
SecurityRemoteStub()
          Default constructor
SecurityRemoteStub(java.rmi.server.RemoteRef ref)
          Constructor for RemoteStub, with the specified remote reference.
 
Method Summary
 void invoke(java.rmi.server.RemoteCall call)
          invoke() inserts the correct transactional context before executing the remote call.
 
Methods inherited from class java.rmi.server.RemoteStub
setRef
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected static org.objectweb.util.monolog.api.Logger logger
Constructor Detail

SecurityRemoteStub

public SecurityRemoteStub()
Default constructor

SecurityRemoteStub

public SecurityRemoteStub(java.rmi.server.RemoteRef ref)
Constructor for RemoteStub, with the specified remote reference.
Method Detail

invoke

public void invoke(java.rmi.server.RemoteCall call)
            throws java.lang.Exception,
                   java.rmi.MarshalException
invoke() inserts the correct transactional context before executing the remote call. A null object means "no transactional context".