|
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,
java.io.File nestedJARsDir)
|
Method Summary | |
---|---|
java.util.List<BundleFile> |
getBundles()
|
java.util.List<BundleFile> |
getJars()
|
java.util.List<BundleFile> |
getNestedJars()
|
java.io.File |
handleBundle(BundleFile bf)
A Bundle was found on the class path. |
java.io.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(java.io.File file)
|
void |
scan(java.util.List<java.io.File> files,
boolean scanForNestedJARs,
java.lang.String[] blacklist)
|
void |
store(java.io.File file)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassPath(SharedClassLoader loader, java.io.File nestedJARsDir)
Method Detail |
---|
public java.util.List<BundleFile> getBundles()
public java.util.List<BundleFile> getJars()
public java.util.List<BundleFile> getNestedJars()
public void scan(java.util.List<java.io.File> files, boolean scanForNestedJARs, java.lang.String[] blacklist)
public java.io.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 java.io.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(java.io.File file) throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
public void restore(java.io.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 |