Interface ClassLoadingPicoContainer

    • Method Detail

      • addClassLoaderURL

        ClassPathElement addClassLoaderURL​(java.net.URL url)
        Adds a new URL that will be used in classloading
        Parameters:
        url - url of the jar to find components in.
        Returns:
        ClassPathElement to add permissions to (subject to security policy)
      • getComponentClassLoader

        java.lang.ClassLoader getComponentClassLoader()
        Returns class loader that is the aggregate of the URLs added.
        Returns:
        A ClassLoader
      • makeChildContainer

        ClassLoadingPicoContainer makeChildContainer​(java.lang.String name)
        Make a child container with a given name
        Parameters:
        name - the container name
        Returns:
        The ScriptedPicoContainer
      • addChildContainer

        ClassLoadingPicoContainer addChildContainer​(java.lang.String name,
                                                    PicoContainer child)
        Addes a child container with a given name
        Parameters:
        name - the container name
        child - the child PicoContainer