Class RemoteIncludes

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

public class RemoteIncludes extends Object
Handles generated .remote and .impl-code.

Also creates the RMI-java files, if missing.

Author:
harald
  • Constructor Details

    • RemoteIncludes

      public RemoteIncludes(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 heapfiles 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.
    • appendRemote

      public void appendRemote(String text)
      Appends text to remote file.
      Parameters:
      text - the text to append
    • appendImpl

      public void appendImpl(String text)
      Appends text to impl file.
      Parameters:
      text - the text to append
    • getRemoteStream

      public PrintStream getRemoteStream()
      Returns:
      get the remote stream
    • getImplStream

      public PrintStream getImplStream()
      Returns:
      the impl stream