Class RemoteIncludes

java.lang.Object
org.tentackle.persist.wurblet.RemoteIncludes

public class RemoteIncludes extends Object
Handles generated remote interface and implementation code.

Creates the RMI-java files from freemarker templates, if missing.

Author:
harald
  • Constructor Details

    • RemoteIncludes

      public RemoteIncludes(org.tentackle.wurblet.ModelWurblet wurblet) throws org.wurbelizer.wurbel.WurbelException
      Create remote includes.
      Parameters:
      wurblet - the wurblet
      Throws:
      org.wurbelizer.wurbel.WurbelException - if failed
  • Method Details

    • discard

      public void discard()
      Marks the heap files as discarded.
      Such files should not be used to generate code because their contents are incomplete because of former errors. Wurblets reading this file should throw a WurbelDiscardException.
    • getInterfaceStream

      public PrintStream getInterfaceStream()
      Gets the print stream of the remote interface.
      Returns:
      get the remote stream
    • getImplementationStream

      public PrintStream getImplementationStream()
      Gets the print stream of the remote implementation.
      Returns:
      the impl stream