Interface AnalysisEngine

    • Method Detail

      • setModuleFiles

        void setModuleFiles​(Collection moduleFiles)
        Specify the list of modules that should be analyzed. If an EARFile is included in the list, all of its contained modules should be examined. Multiple ear files can be specified for cross-app invocations, which will become increasingly common in the 5.1 release.
        Parameters:
        moduleFiles - A non-null Collection of module files: (EARFile, WARFile, ApplicationClientFile, EJBJarFile).
      • setJ2SELibraries

        void setJ2SELibraries​(JarFile[] libs)
        Specify the jar files that represent the standard J2SE libraries
        Parameters:
        libs - an array of jar files; usually rt.jar for vanilla JDK core.jar, server.jar, and xml.jar for some WAS runtimes
      • setJ2SELibraries

        void setJ2SELibraries​(Module[] libs)
        Specify the mdoules that represent the standard J2SE libraries
        Parameters:
        libs - an array of Modules; usually rt.jar for vanilla JDK core.jar, server.jar, and xml.jar for some WAS runtimes
      • setClosedWorld

        void setClosedWorld​(boolean b)
        Specify whether the engine should or should not employ "closed-world" analysis. In a closed-world analysis, the engine considers only application client main methods and servlet entrypoints to the application. In an open-world analysis, the engine additionally considers all EJB local and remote interface methods as entrypoints. By default, this property is false; the default analysis is open-world
        Parameters:
        b - whether to use closed-world analysis