Interface ClasspathDiscoverer

  • All Known Implementing Classes:
    ClasspathDiscovererImpl

    public interface ClasspathDiscoverer
    Discovers the classpath of the agent using the ServletContext of the web app.
    • Method Detail

      • discoverClasspath

        Map<String,​JarDescriptor> discoverClasspath​(@NotNull
                                                          @NotNull javax.servlet.ServletContext servletContext)
                                                   throws Exception
        Discovers and filters the classpath of the server to produce all the possible jars needed by a remote agent
        Parameters:
        servletContext - of the running app
        Returns:
        map of jar names to JarDescriptors
        Throws:
        Exception - if there was a problem discovering the classpath