org.allcolor.yahp.converter
Class CClassLoaderConfig

java.lang.Object
  extended by org.allcolor.yahp.converter.CClassLoaderConfig

public final class CClassLoaderConfig
extends java.lang.Object

This class is used to configure the class loader tree

Version:
0.94
Author:
Quentin Anciaux

Nested Class Summary
static class CClassLoaderConfig.CLoaderInfo
          represent info configuration for a loader
 
Field Summary
private  java.util.Map filesMap
          file -- loader
private  java.util.Map loadersInfoMap
          info -- loader
 
Constructor Summary
CClassLoaderConfig()
           
 
Method Summary
 void addFile(java.lang.String loaderPath, java.net.URL file)
          add a file to the given loader
 void addLoaderInfo(java.lang.String loaderPath, CClassLoaderConfig.CLoaderInfo info)
          add info about the given loader
 java.util.Map getFilesMap()
          return the file -- loader map
 java.util.Map getLoadersInfoMap()
          return the info -- loader map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filesMap

private java.util.Map filesMap
file -- loader


loadersInfoMap

private java.util.Map loadersInfoMap
info -- loader

Constructor Detail

CClassLoaderConfig

public CClassLoaderConfig()
Method Detail

addFile

public void addFile(java.lang.String loaderPath,
                    java.net.URL file)
add a file to the given loader

Parameters:
loaderPath - the path of the loader
file - the jar file to add

addLoaderInfo

public void addLoaderInfo(java.lang.String loaderPath,
                          CClassLoaderConfig.CLoaderInfo info)
add info about the given loader

Parameters:
loaderPath - the path of the loader
info - the info to set

getFilesMap

public final java.util.Map getFilesMap()
return the file -- loader map

Returns:
the file -- loader map

getLoadersInfoMap

public final java.util.Map getLoadersInfoMap()
return the info -- loader map

Returns:
the info -- loader map