Class AbstractTranslator.ClassLoaderFacadeImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.ClassLoader classLoader  
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

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

      • classLoader

        java.lang.ClassLoader classLoader
    • Constructor Detail

      • ClassLoaderFacadeImpl

        private ClassLoaderFacadeImpl()
    • Method Detail

      • loadClass

        public java.lang.Class<?> loadClass​(java.lang.String idlCompilerClass)
                                     throws java.lang.ClassNotFoundException
        Description copied from interface: AbstractTranslator.ClassLoaderFacade
        Loads the specified class using the appropriate classloader.
        Specified by:
        loadClass in interface AbstractTranslator.ClassLoaderFacade
        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