public interface ClassLoadingPicoContainer extends MutablePicoContainer
Modifier and Type | Method and Description |
---|---|
ClassLoadingPicoContainer |
addChildContainer(String name,
PicoContainer child)
Addes a child container with a given name
|
ClassPathElement |
addClassLoaderURL(URL url)
Adds a new URL that will be used in classloading
|
ClassLoader |
getComponentClassLoader()
Returns class loader that is the aggregate of the URLs added.
|
ClassLoadingPicoContainer |
makeChildContainer(String name)
Make a child container with a given name
|
addAdapter, addChildContainer, addComponent, addComponent, addConfig, as, change, getLifecycleState, getName, makeChildContainer, removeChildContainer, removeComponent, removeComponentByInstance, setLifecycleState, setName
accept, getComponent, getComponent, getComponent, getComponent, getComponentAdapter, getComponentAdapter, getComponentAdapter, getComponentAdapters, getComponentAdapters, getComponentAdapters, getComponents, getComponents, getParent
dispose
ClassPathElement addClassLoaderURL(URL url)
url
- url of the jar to find components in.ClassLoader getComponentClassLoader()
ClassLoadingPicoContainer makeChildContainer(String name)
name
- the container nameClassLoadingPicoContainer addChildContainer(String name, PicoContainer child)
name
- the container namechild
- the child PicoContainerCopyright © 2003–2015 Codehaus. All rights reserved.