|
Eclipse JDT Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Resolves variable and/or container runtime classpath entries in
the context of a launch configuration or Java project. A resolver can be declared
as an extension (org.eclipse.jdt.launching.runtimeClasspathEntryResolver),
or be registered with the JavaRuntime programatically.
A resolver is registered for a specific classpath
VARIABLE and/or CONTAINER. A resolver is
consulted when a runtime classpath entry is needs to be resolved.
plugin.xml.
Following is an example definition of a runtime classpath entry
resolver extension.
<extension point="org.eclipse.jdt.launching.runtimeClasspathEntryResolvers">
<runtimeClasspathEntryResolver
id="com.example.ExampleResolver"
class="com.example.ExampleResolverImpl"
variable="VAR_NAME"
container="CONTAINER_ID"
</runtimeClasspathEntryResolver>
</extension>
The attributes are specified as follows:
id specifies a unique identifier for this extension.class specifies the fully qualified name of the Java class
that implements IRuntimeClasspathEntryResolver.variable name of the classpath variable this resolver
is registered for.container identifier of the classpath container this
resolver is registered for.variable or container must be
specified.
Clients may implement this interface.
| Method Summary | |
IRuntimeClasspathEntry[] |
resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry,
IJavaProject project)
Returns resolved runtime classpath entries for the given runtime classpath entry, in the context of the given Java project. |
IRuntimeClasspathEntry[] |
resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry,
org.eclipse.debug.core.ILaunchConfiguration configuration)
Returns resolved runtime classpath entries for the given runtime classpath entry, in the context of the given launch configuration. |
IVMInstall |
resolveVMInstall(IClasspathEntry entry)
Returns a VM install associated with the given classpath entry, or null if none. |
| Method Detail |
public IRuntimeClasspathEntry[] resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry,
org.eclipse.debug.core.ILaunchConfiguration configuration)
throws org.eclipse.core.runtime.CoreException
entry - runtime classpath entry to resolve, of type
VARIABLE or CONTAINTERconfiguration - the context in which the runtime classpath entry
needs to be resolved
org.eclipse.core.runtime.CoreException - if unable to resolve the entry
public IRuntimeClasspathEntry[] resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry,
IJavaProject project)
throws org.eclipse.core.runtime.CoreException
entry - runtime classpath entry to resolve, of type
VARIABLE or CONTAINTERproject - context in which the runtime classpath entry
needs to be resolved
org.eclipse.core.runtime.CoreException - if unable to resolve the entry
public IVMInstall resolveVMInstall(IClasspathEntry entry)
throws org.eclipse.core.runtime.CoreException
null if none.
entry - classpath entry
null if none
org.eclipse.core.runtime.CoreException - if unable to resolve a VM
|
Eclipse JDT Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||