public interface IBundleClasspathResolver
Generally, dynamically generated bundle classpath entries are not present under project source tree but included in the bundle as part build process. During development time such bundle classpath entries can be resolved to external jar files or workspace resources. Resolution of the same entry may change over time, similarly to how Plug-in Dependencies classpath container can switch between external bundles and workspace projects.
A resolver is declared as an extension (
extension has the following attributes:
naturespecified nature of the projects this resolver is registered for.
classspecifies the fully qualified name of the Java class that implements
The resolver is consulted when dynamically generated bundle is added to OSGi runtime launch and when looking up sources from the bundle.
|Modifier and Type||Method and Description|
Returns a possibly empty map describing additional bundle classpath entries for a project in the workspace.
Returns a possibly empty collection listing additional classpath entries for the source lookup path of a project in the workspace.
Map<IPath,Collection<IPath>> getAdditionalClasspathEntries(IJavaProject javaProject)
The map key is a
IPath describing the project relative path to a source directory or library. The value
IPath locations (relative to the project or absolute) that should be added
to the bundle classpath.
javaProject- the java project to collect classpath entries for
Collection<IRuntimeClasspathEntry> getAdditionalSourceEntries(IJavaProject javaProject)
javaProject- the java project to collect source entries for
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.