Interface ClasspathDiscoverer
- All Known Implementing Classes:
ClasspathDiscovererImpl
public interface ClasspathDiscoverer
Discovers the classpath of the agent using the
ServletContext of the web app.-
Method Summary
Modifier and TypeMethodDescriptiondiscoverClasspath(@NotNull jakarta.servlet.ServletContext servletContext) Discovers and filters the classpath of the server to produce all the possible jars needed by a remote agent
-
Method Details
-
discoverClasspath
Map<String,JarDescriptor> discoverClasspath(@NotNull @NotNull jakarta.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
-