Package | Description |
---|---|
org.nuxeo.osgi | |
org.nuxeo.osgi.application | |
org.nuxeo.runtime.test |
Base classes for running test cases under Nuxeo Runtime.
|
Modifier and Type | Class and Description |
---|---|
class |
DirectoryBundleFile
A
BundleFile that is backed by a filesystem directory, for use in test settings from Eclipse or maven. |
class |
JarBundleFile |
class |
NestedJarBundleFile |
class |
SystemBundleFile |
Modifier and Type | Field and Description |
---|---|
protected BundleFile |
BundleImpl.file |
Modifier and Type | Method and Description |
---|---|
BundleFile |
BundleImpl.getBundleFile() |
Modifier and Type | Method and Description |
---|---|
Collection<BundleFile> |
JarBundleFile.findNestedBundles(File tmpDir) |
Collection<BundleFile> |
DirectoryBundleFile.findNestedBundles(File tmpDir) |
Collection<BundleFile> |
BundleFile.findNestedBundles(File tmpDir)
Get a list with nested bundles or null if none.
|
Collection<BundleFile> |
JarBundleFile.getNestedBundles(File tmpDir) |
Collection<BundleFile> |
DirectoryBundleFile.getNestedBundles(File tmpDir) |
Collection<BundleFile> |
BundleFile.getNestedBundles(File tmpDir)
Gets a list with nested bundles or null if none.
|
Constructor and Description |
---|
BundleImpl(OSGiAdapter osgi,
BundleFile file,
ClassLoader loader) |
BundleImpl(OSGiAdapter osgi,
BundleFile file,
ClassLoader loader,
boolean isSystemBundle) |
SystemBundle(OSGiAdapter osgi,
BundleFile file,
ClassLoader loader) |
Modifier and Type | Field and Description |
---|---|
protected List<BundleFile> |
ClassPath.bundles |
protected List<BundleFile> |
ClassPath.jars |
protected List<BundleFile> |
ClassPath.nestedJars |
Modifier and Type | Method and Description |
---|---|
static BundleFile |
StandaloneApplication.createSystemBundle(URL systemBundle)
Creates the system bundle from the jar specified by the nuxeo.osgi.system.bundle property.
|
Modifier and Type | Method and Description |
---|---|
Collection<BundleFile> |
ClassPathScanner.extractNestedJars(BundleFile bf,
File nestedBundlesDir) |
List<BundleFile> |
ClassPath.getBundles() |
List<BundleFile> |
ApplicationLoader.BundleFileScanner.getBundles() |
List<BundleFile> |
ApplicationLoader.BundleFileLoader.getBundles() |
List<BundleFile> |
ClassPath.getJars() |
List<BundleFile> |
ApplicationLoader.BundleFileScanner.getJARs() |
List<BundleFile> |
ApplicationLoader.BundleFileLoader.getJARs() |
List<BundleFile> |
ClassPath.getNestedJars() |
protected List<BundleFile> |
StandaloneApplication.loadUserBundles(String key) |
Modifier and Type | Method and Description |
---|---|
Collection<BundleFile> |
ClassPathScanner.extractNestedJars(BundleFile bf,
File nestedBundlesDir) |
File |
ClassPathScanner.Callback.handleBundle(BundleFile bf)
A Bundle was found on the class path.
|
File |
ClassPath.handleBundle(BundleFile bf) |
File |
ClassPathScanner.Callback.handleJar(BundleFile bf)
A JAR was found on the class path.
|
File |
ClassPath.handleJar(BundleFile bf) |
void |
ClassPathScanner.Callback.handleNestedJar(BundleFile bf)
A nested JAR was found on the class path.
|
void |
ClassPath.handleNestedJar(BundleFile bf) |
void |
StandaloneApplication.install(BundleFile bf) |
void |
StandaloneBundleLoader.installBundle(BundleFile bundleFile) |
abstract void |
ApplicationLoader.installBundle(BundleFile bundleFile) |
void |
StandaloneBundleLoader.loadBundle(BundleFile bundleFile) |
abstract void |
ApplicationLoader.loadBundle(BundleFile bundleFile) |
void |
StandaloneBundleLoader.loadJAR(BundleFile bundleFile) |
abstract void |
ApplicationLoader.loadJAR(BundleFile bundleFile) |
void |
BundleFileVisitor.visit(BundleFile bf) |
void |
BundleWalker.Callback.visitBundle(BundleFile bundleFile) |
void |
ApplicationLoader.BundleInstaller.visitBundle(BundleFile bundleFile) |
void |
ApplicationLoader.BundleFileScanner.visitBundle(BundleFile bundleFile) |
void |
ApplicationLoader.BundleFileLoader.visitBundle(BundleFile bundleFile) |
void |
ApplicationLoader.DefaultCallback.visitBundle(BundleFile bundleFile) |
void |
BundleWalker.Callback.visitJar(BundleFile bundleFile) |
void |
ApplicationLoader.BundleInstaller.visitJar(BundleFile bundleFile) |
void |
ApplicationLoader.BundleFileScanner.visitJar(BundleFile bundleFile) |
void |
ApplicationLoader.BundleFileLoader.visitJar(BundleFile bundleFile) |
void |
ApplicationLoader.DefaultCallback.visitJar(BundleFile bundleFile) |
void |
ApplicationLoader.DefaultCallback.visitNestedBundles(BundleFile bundleFile) |
Modifier and Type | Method and Description |
---|---|
void |
ApplicationLoader.installAll(Collection<BundleFile> bundleFiles)
Installs all given bundle deployments.
|
void |
StandaloneApplication.installAll(List<BundleFile> bundles) |
void |
ApplicationLoader.load(File root,
List<BundleFile> bundles,
List<BundleFile> jars)
Scans and loads the given directory for OSGi bundles and regular JARs and fills the given lists appropriately.
|
void |
ApplicationLoader.load(File root,
List<BundleFile> bundles,
List<BundleFile> jars)
Scans and loads the given directory for OSGi bundles and regular JARs and fills the given lists appropriately.
|
void |
ApplicationLoader.scan(File root,
List<BundleFile> bundles,
List<BundleFile> ljars)
Scans the given directory for OSGi bundles and regular JARs and fills the given lists appropriately.
|
void |
ApplicationLoader.scan(File root,
List<BundleFile> bundles,
List<BundleFile> ljars)
Scans the given directory for OSGi bundles and regular JARs and fills the given lists appropriately.
|
void |
ApplicationBundleLoader.scanAndLoad(List<File> classPath,
List<BundleFile> bundles,
List<BundleFile> jars) |
void |
ApplicationBundleLoader.scanAndLoad(List<File> classPath,
List<BundleFile> bundles,
List<BundleFile> jars) |
protected void |
StandaloneApplication.startBundles(List<BundleFile> bundles) |
static void |
ApplicationBundleLoader.writeCache(File file,
List<BundleFile> bundles,
List<BundleFile> jars) |
static void |
ApplicationBundleLoader.writeCache(File file,
List<BundleFile> bundles,
List<BundleFile> jars) |
Constructor and Description |
---|
BundleFileLoader(List<BundleFile> bundles,
List<BundleFile> jars) |
BundleFileLoader(List<BundleFile> bundles,
List<BundleFile> jars) |
BundleFileScanner(List<BundleFile> bundles,
List<BundleFile> jars) |
BundleFileScanner(List<BundleFile> bundles,
List<BundleFile> jars) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,BundleFile> |
NXRuntimeTestCase.bundles |
Modifier and Type | Method and Description |
---|---|
BundleFile |
NXRuntimeTestCase.lookupBundle(String bundleName) |
protected BundleFile |
NXRuntimeTestCase.oldLookupBundle(String bundle)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
NXRuntimeTestCase.readSymbolicName(BundleFile bf) |
Constructor and Description |
---|
RootRuntimeBundle(OSGiAdapter osgi,
BundleFile file,
ClassLoader loader) |
RootRuntimeBundle(OSGiAdapter osgi,
BundleFile file,
ClassLoader loader,
boolean isSystemBundle) |
Copyright © 2015 Nuxeo SA. All rights reserved.