Class ClasspathDiscovererImpl
java.lang.Object
com.atlassian.bamboo.agent.classserver.ClasspathDiscovererImpl
- All Implemented Interfaces:
ClasspathDiscoverer
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
ClasspathDiscovererImpl
public ClasspathDiscovererImpl()
-
-
Method Details
-
discoverClasspath
public Map<String,JarDescriptor> discoverClasspath(@NotNull @NotNull jakarta.servlet.ServletContext servletContext) throws Exception Description copied from interface:ClasspathDiscovererDiscovers and filters the classpath of the server to produce all the possible jars needed by a remote agent- Specified by:
discoverClasspathin interfaceClasspathDiscoverer- Parameters:
servletContext- of the running app- Returns:
- map of jar names to
JarDescriptors - Throws:
Exception- if there was a problem discovering the classpath
-