Class RemoteIncludes


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

    Also creates the RMI-java files, if missing.

    Author:
    harald
    • Constructor Summary

      Constructors 
      Constructor Description
      RemoteIncludes​(org.tentackle.wurblet.ModelWurblet wurblet)
      Create remote includes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendImpl​(java.lang.String text)
      Appends text to impl file.
      void appendRemote​(java.lang.String text)
      Appends text to remote file.
      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.
      java.io.PrintStream getImplStream()  
      java.io.PrintStream getRemoteStream()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • 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 Detail

      • 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​(java.lang.String text)
        Appends text to remote file.
        Parameters:
        text - the text to append
      • appendImpl

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

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

        public java.io.PrintStream getImplStream()
        Returns:
        the impl stream