Class EmbeddedContainerClasspathResolver


  • public class EmbeddedContainerClasspathResolver
    extends Object
    Create a classloader to load container classes.
    • Constructor Detail

      • EmbeddedContainerClasspathResolver

        public EmbeddedContainerClasspathResolver()
    • 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.