Package org.codehaus.cargo.sample.java
Class EmbeddedContainerClasspathResolver
- java.lang.Object
-
- org.codehaus.cargo.sample.java.EmbeddedContainerClasspathResolver
-
public class EmbeddedContainerClasspathResolver extends Object
Create a classloader to load container classes.
-
-
Constructor Summary
Constructors Constructor Description EmbeddedContainerClasspathResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoader
resolveDependencies(String containerId, String containerHome)
Resolve dependencies for an embedded container and create classpath.
-
-
-
Method Detail
-
resolveDependencies
public ClassLoader resolveDependencies(String containerId, String containerHome) throws FileNotFoundException
Resolve dependencies for an embedded container and create classpath.- Parameters:
containerId
- Container identifier.containerHome
- Container home.- Returns:
ClassLoader
with dependencies,null
if the container is not supported in the embedded mode.- Throws:
FileNotFoundException
- If some dependencies cannot be found.
-
-