public abstract class WrapperTask extends ProtectedTask
| Constructor and Description |
|---|
WrapperTask() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassLoader |
createClassLoader()
Creates a protective class loader that will host the actual task.
|
protected String |
getCoreClassName()
Returns the name of the class that extends
Task. |
void |
setDynamicAttribute(String name,
String value) |
createDynamicElement, executebindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected String getCoreClassName()
ProtectedTaskTask.
This class will be loaded int the protected classloader.getCoreClassName in class ProtectedTaskpublic void setDynamicAttribute(String name, String value) throws org.apache.tools.ant.BuildException
setDynamicAttribute in interface org.apache.tools.ant.DynamicAttributesetDynamicAttribute in class ProtectedTaskorg.apache.tools.ant.BuildExceptionprotected ClassLoader createClassLoader() throws ClassNotFoundException, IOException
ProtectedTaskcreateClassLoader in class ProtectedTaskClassNotFoundExceptionIOExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.