|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClassPathResolver
ClassPathResolvers are used by Crux to find the location of some application's directory, like web dir, WEB-INF/classes and WEB-INF/lib dirs. Those directories are searched by some Crux scanners.
| Method Summary | |
|---|---|
URL |
findWebBaseDir()
Return an array of URLs pointing to application's web directories. |
URL |
findWebInfClassesPath()
|
URL[] |
findWebInfLibJars()
|
URL |
findWebInfLibPath()
|
void |
initialize()
Initialize the classpath resolver |
void |
setWebBaseDir(URL url)
|
void |
setWebInfClassesPath(URL url)
|
void |
setWebInfLibJars(URL[] url)
|
void |
setWebInfLibPath(URL url)
|
| Method Detail |
|---|
URL findWebInfClassesPath()
URL findWebInfLibPath()
URL[] findWebInfLibJars()
URL findWebBaseDir()
void setWebInfClassesPath(URL url)
url - new path to web-inf/classes foldervoid setWebInfLibPath(URL url)
url - new path to web-inf/lib foldervoid setWebInfLibJars(URL[] url)
url - list of jar files present into web-inf/lib foldervoid setWebBaseDir(URL url)
url - list of applications web foldersvoid initialize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||