Public Member Functions | |
int | compare (File f1, File f2) |
Static Public Attributes | |
final String | PROPERTY_APPLICATION_TOPJARS = "acs.system.classpath.appltopjars" |
final String[] | orderedAcsJarNames |
Package Functions | |
JarOrderOptimizer (boolean verbose) | |
void | sortJars (List< File > jarlist) |
List< File > | getTopJarsOnly (List< File > allJars) |
boolean | isClassKnownToBeUnavailable (String name) |
Private Member Functions | |
String[] | parseJarNames (String jarNamePath) |
Private Attributes | |
boolean | verbose = false |
Map< String, Integer > | topJarMap |
acs.system.classpath.appltopjars
. The classloader will then not have to read through unimportant jar files first, which should improve class loading performance on IO-challenged machines.
|
|
|
|
|
To be used for testing only -- allows to filter out all jar files from a list which are not given priority by the
|
|
Checks if a class comes from any of the subpackages of
|
|
Parses a string of concatenated jar file names. For example, the string "ab:cd.jar:ef" should yield {"ab.jar", "cd.jar", "ef.jar"}. |
|
Sorts
|
|
Hardcoded list of jar files that are sufficient to start an ACS container or other basic ACS software. The class loader will sort these jar files toward the beginning of the classpath (in the given order), and will append jar files from the optional property |
|
|
|
key = (String) jarname, value = (Integer) position. |
|
|