Class InFlightGeneratorImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void generateFromMultipleDirectories​(java.util.List<java.io.File> directories, java.util.List<java.io.File> searchPath, boolean verbose, java.io.OutputStream inhabitantFile)
      Scans multiple directories for HK2 services to be written to the given output stream
      • Methods inherited from class java.lang.Object

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

      • InFlightGeneratorImpl

        public InFlightGeneratorImpl()
    • Method Detail

      • generateFromMultipleDirectories

        public void generateFromMultipleDirectories​(java.util.List<java.io.File> directories,
                                                    java.util.List<java.io.File> searchPath,
                                                    boolean verbose,
                                                    java.io.OutputStream inhabitantFile)
                                             throws java.io.IOException
        Description copied from interface: InFlightGenerator
        Scans multiple directories for HK2 services to be written to the given output stream
        Specified by:
        generateFromMultipleDirectories in interface InFlightGenerator
        Parameters:
        directories - A set of directories that should contain class files to be scanned for HK2 services to be added to the output. All the files in this list must be directories
        searchPath - A set of directories or jar files that may contain other required classes but which classes would not be added to the output stream
        verbose - if true print information about progress
        inhabitantFile - The stream to which to write any HK2 service descriptors found in under directories
        Throws:
        java.io.IOException - if there is an error writing the inhabitantFile or reading the class files