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