Class SunRmiCompiler

  • All Implemented Interfaces:
    RmiCompiler

    public class SunRmiCompiler
    extends java.lang.Object
    implements RmiCompiler
    Version:
    $Id: SunRmiCompiler.java 17141 2012-07-16 17:33:24Z russgold $
    • Field Detail

      • RMIC_CLASSNAME

        public static final java.lang.String RMIC_CLASSNAME
        The name of the class to use for rmi compilation.
        See Also:
        Constant Field Values
      • logger

        private org.apache.maven.plugin.logging.Log logger
    • Constructor Detail

      • SunRmiCompiler

        public SunRmiCompiler()
    • Method Detail

      • setClassLoaderFacade

        static void setClassLoaderFacade​(SunRmiCompiler.ClassLoaderFacade classLoaderFacade)
        Specifies the implementation of the classloader facade to use
        Parameters:
        classLoaderFacade - a wrapper for class loading.
      • buildClasspath

        private java.lang.String buildClasspath​(java.util.List classpathList)
      • setLog

        public void setLog​(org.apache.maven.plugin.logging.Log log)
        Description copied from interface: RmiCompiler
        Defines the logger to use.
        Specified by:
        setLog in interface RmiCompiler
      • getLog

        public org.apache.maven.plugin.logging.Log getLog()
        Description copied from interface: RmiCompiler
        Returns the defined log.
        Specified by:
        getLog in interface RmiCompiler
      • logClasspath

        private void logClasspath​(org.apache.maven.plugin.logging.Log logger,
                                  java.net.URL[] urls)
      • executeMain

        private void executeMain​(java.lang.Class rmicMainClass,
                                 java.lang.String[] args)
                          throws RmiCompilerException
        Parameters:
        rmicMainClass - The class to use to run the rmic
        args - Arguments to be passed to rmic
        Throws:
        RmiCompilerException - If there is a problem during the compile