Interface ClasspathDiscoverer
-
- All Known Implementing Classes:
ClasspathDiscovererImpl
public interface ClasspathDiscoverer
Discovers the classpath of the agent using theServletContext
of the web app.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,JarDescriptor>
discoverClasspath(@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 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
JarDescriptor
s - Throws:
Exception
- if there was a problem discovering the classpath
-
-