Interface AbstractTranslator.ClassLoaderFacade

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Class<?> loadClass​(java.lang.String idlCompilerClass)
      Loads the specified class using the appropriate classloader.
      void prependUrls​(java.net.URL... urls)
      Updates the active classloader to include the specified URLs before the original definitions.
    • Method Detail

      • prependUrls

        void prependUrls​(java.net.URL... urls)
        Updates the active classloader to include the specified URLs before the original definitions.
        Parameters:
        urls - a list of URLs to include when searching for classes.
      • loadClass

        java.lang.Class<?> loadClass​(java.lang.String idlCompilerClass)
                              throws java.lang.ClassNotFoundException
        Loads the specified class using the appropriate classloader.
        Parameters:
        idlCompilerClass - the name of the class to use for compiling IDL files.
        Returns:
        the actual compiler class to use
        Throws:
        java.lang.ClassNotFoundException - if the specified class doesn't exist