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: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
-
-