|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.osgi.application.ClassPath
public class ClassPath
Constructor Summary | |
---|---|
ClassPath(SharedClassLoader loader,
File nestedJARsDir)
|
Method Summary | |
---|---|
List<BundleFile> |
getBundles()
|
List<BundleFile> |
getJars()
|
List<BundleFile> |
getNestedJars()
|
File |
handleBundle(BundleFile bf)
A Bundle was found on the class path. |
File |
handleJar(BundleFile bf)
A JAR was found on the class path. |
void |
handleNestedJar(BundleFile bf)
A nested JAR was found on the class path. |
void |
restore(File file)
|
void |
scan(List<File> files,
boolean scanForNestedJARs,
String[] blacklist)
|
void |
store(File file)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassPath(SharedClassLoader loader, File nestedJARsDir)
Method Detail |
---|
public List<BundleFile> getBundles()
public List<BundleFile> getJars()
public List<BundleFile> getNestedJars()
public void scan(List<File> files, boolean scanForNestedJARs, String[] blacklist)
public File handleBundle(BundleFile bf)
ClassPathScanner.Callback
The callback should return a directory to be used to extract nested JARs from this JAR.
The callback may return null to skip nested JAR extraction.
handleBundle
in interface ClassPathScanner.Callback
bf
- the JAR found
public File handleJar(BundleFile bf)
ClassPathScanner.Callback
The callback should return a directory to be used to extract nested JARs from this JAR.
The callback may return null to skip nested JAR extraction.
handleJar
in interface ClassPathScanner.Callback
bf
- the JAR found
public void handleNestedJar(BundleFile bf)
ClassPathScanner.Callback
The callback should return a directory to be used to extract nested JARs from this JAR.
The callback may return null to skip nested JAR extraction
handleNestedJar
in interface ClassPathScanner.Callback
bf
- the JAR foundpublic void store(File file) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public void restore(File file) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |