public class XJCTask extends ProtectedTask
| Constructor and Description |
|---|
XJCTask() |
| 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 |
setSource(String version)
The version of the compiler to run
|
createDynamicElement, execute, setDynamicAttributebindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setSource(String version)
protected ClassLoader createClassLoader() throws ClassNotFoundException, IOException
ProtectedTaskcreateClassLoader in class ProtectedTaskClassNotFoundExceptionIOExceptionprotected String getCoreClassName()
ProtectedTaskTask.
This class will be loaded int the protected classloader.getCoreClassName in class ProtectedTaskCopyright © 2015 Oracle Corporation. All Rights Reserved.