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 javax.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 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
JarDescriptor
s - Throws:
Exception
- if there was a problem discovering the classpath
-