org.objectweb.jeremie.stub_factories.std
Class OptStub

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteStub
          extended by org.objectweb.jeremie.stub_factories.std.StdStub
              extended by org.objectweb.jeremie.stub_factories.std.OptStub
All Implemented Interfaces:
Serializable, Remote

public class OptStub
extends StdStub

Provides an implementation of a stub that contains optimized Jeremie references able to perform type-specific marshalling of remote method invocation data.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
protected OptStub()
          Creates an optimized Jeremie stub.
  OptStub(RemoteRef ref)
          Creates an optimized Jeremie stub with the given remote object reference.
 
Method Summary
 
Methods inherited from class org.objectweb.jeremie.stub_factories.std.StdStub
readResolve, setRef
 
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

OptStub

protected OptStub()
Creates an optimized Jeremie stub.


OptStub

public OptStub(RemoteRef ref)
Creates an optimized Jeremie stub with the given remote object reference.

Parameters:
ref - a reference to a remote object.