org.objectweb.jonas.rmifilters
Class RemoteStub

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

public class RemoteStub
extends java.rmi.server.RemoteStub

The RemoteStub class is the common superclass to all client stubs generated by the Bull 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

Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RemoteStub()
          Default constructor
RemoteStub(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
 

Constructor Detail

RemoteStub

public RemoteStub()
Default constructor

RemoteStub

public RemoteStub(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".