Class RMIGenerator

    • Constructor Detail

      • RMIGenerator

        public RMIGenerator()
    • Method Detail

      • parseArgs

        public boolean parseArgs​(java.lang.String[] argv,
                                 Main main)
        Examine and consume command line arguments.
        Specified by:
        parseArgs in interface Generator
        Parameters:
        argv - The command line arguments. Ignore null and unknown arguments. Set each consumed argument to null.
        main - Report any errors using the main.error() methods.
        Returns:
        true if no errors, false otherwise.
      • generate

        public void generate​(BatchEnvironment env,
                             java.io.File destDir,
                             ClassDefinition cdef)
        Generate the source files for the stub and/or skeleton classes needed by RMI for the given remote implementation class.
        Specified by:
        generate in interface Generator
        Parameters:
        env - compiler environment
        destDir - directory for the root of the package hierarchy
        cdef - definition of remote implementation class to generate stubs and/or skeletons for