public class ClassLoaderConfig
extends java.lang.Object
Constructor and Description |
---|
ClassLoaderConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(ModuleConfig config)
Adds a jar dependency, to be loaded from the repository
|
void |
addIvyLoader(IvyLoader loader)
Adds an ivy class loader.
|
void |
addPriorityPackage(java.lang.String priorityPackage)
Add a package for which this class loader will
take precendence over the parent.
|
CompilingLoader |
createCompilingLoader()
Adds a compiling class loader.
|
ModuleConfig |
createDependency()
Adds a jar dependency, to be loaded from the repository
|
EnhancerManager |
createEnhancer()
Adds an enhancing loader.
|
IvyLoader |
createIvyLoader()
Creates an ivy class loader.
|
LibraryLoader |
createLibraryLoader()
Adds a library loader, e.g.
|
ModuleConfig |
createModule()
Creates an ivy class loader.
|
SimpleLoader |
createSimpleLoader()
Adds a simple class loader.
|
TreeLoader |
createTreeLoader()
Adds a tree loader.
|
void |
init()
init
|
void |
setServletHack(boolean hack)
Sets the servlet classloader hack.
|
java.lang.String |
toString() |
public ClassLoaderConfig() throws ConfigException
ConfigException
public void setServletHack(boolean hack)
public SimpleLoader createSimpleLoader()
public IvyLoader createIvyLoader()
public ModuleConfig createDependency()
public void addDependency(ModuleConfig config)
public void addIvyLoader(IvyLoader loader)
public LibraryLoader createLibraryLoader()
public ModuleConfig createModule()
public CompilingLoader createCompilingLoader()
public TreeLoader createTreeLoader()
public EnhancerManager createEnhancer() throws ConfigException
ConfigException
public void addPriorityPackage(java.lang.String priorityPackage)
@PostConstruct public void init() throws ConfigException
ConfigException
public java.lang.String toString()
toString
in class java.lang.Object