com.atlassian.bamboo.agent.classserver
Interface ClasspathDiscoverer

All Known Implementing Classes:
ClasspathDiscovererImpl

public interface ClasspathDiscoverer

Discovers the classpath of the agent using the ServletContext of the web app.


Method Summary
 java.util.concurrent.ConcurrentMap<java.lang.String,JarDescriptor> discoverClasspath(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

java.util.concurrent.ConcurrentMap<java.lang.String,JarDescriptor> discoverClasspath(@NotNull
                                                                                     javax.servlet.ServletContext servletContext)
                                                                                     throws java.lang.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 JarDescriptors
Throws:
java.lang.Exception - if there was a problem discovering the classpath


Copyright © 2012 Atlassian. All Rights Reserved.