| Modifier and Type | Field and Description |
|---|---|
| private ClasspathUtils. | |
| private ClassLoader |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Path | Returns: the classpath of the this definitionCreate the classpath to be used when searching for component being defined. |
| protected ClassLoader | |
| public Path | |
| public String | |
| private ClasspathUtils. | |
| public String | |
| protected boolean | Returns: true if cpDelegate has been created.Check if classpath attributes have been set. |
| public void | init()
Overrides org. |
| public boolean | |
| public void | setClasspath(Path
an Ant Path object containing the classpath. classpath)Set the classpath to be used when searching for component being defined. |
| public void | setClasspathRef(Reference
the reference to the classpath r)Set a reference to a classpath to use when loading the files. |
| public void | |
| public void | setReverseLoader(boolean
if true a delegated loader will take precedence over
the parent reverseLoader)
Deprecated
since 1.6.x.
stop using this attribute
|
| cpDelegate | back to summary |
|---|---|
| private ClasspathUtils. | |
| createdLoader | back to summary |
|---|---|
| private ClassLoader createdLoader | |
| DefBase | back to summary |
|---|---|
| public DefBase() | |
| createClasspath | back to summary |
|---|---|
| public Path createClasspath() Create the classpath to be used when searching for component being defined.
| |
| createLoader | back to summary |
|---|---|
| protected ClassLoader createLoader() create a classloader for this definition
| |
| getClasspath | back to summary |
|---|---|
public Path getClasspath()
| |
| getClasspathId | back to summary |
|---|---|
| public String getClasspathId() Returns the class path id of the class path delegate.
| |
| getDelegate | back to summary |
|---|---|
| private ClasspathUtils. | |
| getLoaderId | back to summary |
|---|---|
| public String getLoaderId() Returns the loader id of the class path Delegate.
| |
| hasCpDelegate | back to summary |
|---|---|
| protected boolean hasCpDelegate() Check if classpath attributes have been set. (to be called before getCpDelegate() is used.
| |
| init | back to summary |
|---|---|
| public void init() throws BuildException Overrides org. Doc from org. Called by the project to let the task initialize properly. The default implementation is a no-op.
| |
| isReverseLoader | back to summary |
|---|---|
public boolean isReverseLoader()
| |
| setClasspath | back to summary |
|---|---|
| public void setClasspath(Path classpath) Set the classpath to be used when searching for component being defined.
| |
| setClasspathRef | back to summary |
|---|---|
| public void setClasspathRef(Reference r) Set a reference to a classpath to use when loading the files. To actually share the same loader, set loaderref as well
| |
| setLoaderRef | back to summary |
|---|---|
| public void setLoaderRef(Reference r) Use the reference to locate the loader. If the loader is not found, the specified classpath will be used and registered with the specified name. This allows multiple taskdef/typedef to use the same class loader, so they can be used together, eliminating the need to put them in the CLASSPATH.
| |
| setReverseLoader | back to summary |
|---|---|
| public void setReverseLoader(boolean reverseLoader)
Deprecated since 1.6.x. stop using this attribute
| |