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.
        containerId - Container identifier.
        containerHome - Container home.
        ClassLoader with dependencies, null if the container is not supported in the embedded mode.
        FileNotFoundException - If some dependencies cannot be found.