Class ClasspathDiscovererImpl
- java.lang.Object
-
- com.atlassian.bamboo.agent.classserver.ClasspathDiscovererImpl
-
- All Implemented Interfaces:
ClasspathDiscoverer
public class ClasspathDiscovererImpl extends Object implements ClasspathDiscoverer
-
-
Constructor Summary
Constructors Constructor Description ClasspathDiscovererImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
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
-
-