This patch includes the missing remote activation deamon (RMID), the persistent RMI naming service (required for the trully persistent activation) and contains fixes of various bugs and problems that were discovered when debugging the RMID. In the comitted version, the server application, RMID and naming service all can be restarted at any time without disrupting the system work (the currently existing remote references are not lost and the objects are later activated on the first call).

2006-03-29  Audrius Meskauskas  <[EMAIL PROTECTED]>

   * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
   * gnu/java/rmi/activation/BidiTable.java: Rewritten.
   * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
   Avoid NPEs.
* gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, readExternal,
   writeExternal): New methods.
   * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
two stages, invokeCommon(Remote, ...) and invokeCommen(UnicastConnection, ...).
   * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
   also the ActivatableRef. toString(): Documented.
   * gnu/java/rmi/server/ActivatableRef.java,
   tools/gnu/classpath/tools/rmi/Persistent.java,
   tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
   tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
   tools/gnu/classpath/tools/rmi/REGISTRY.java,
   tools/gnu/classpath/tools/rmi/REGISTRY.txt,
   tools/gnu/classpath/tools/rmi/RMID.java,
   tools/gnu/classpath/tools/rmi/RMID.txt,
   tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
   tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
   tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
   tools/gnu/classpath/tools/rmi/registry/package.html,
   tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: New files.
   * tools/README: Documented.
   * NEWS: Added entry about the activation.

Attachment: activateIt.patch.tar.gz
Description: GNU Zip compressed data

Reply via email to