|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTask
com.sun.istack.tools.ProtectedTask
com.sun.tools.ws.ant.WrapperTask
public abstract class WrapperTask
Wrapper task to launch real implementations of the task in a classloader that can work even in JavaSE 6.
| Constructor Summary | |
|---|---|
WrapperTask()
|
|
| Method Summary | |
|---|---|
protected java.lang.ClassLoader |
createClassLoader()
Creates a protective class loader that will host the actual task. |
protected java.lang.String |
getCoreClassName()
Returns the name of the class that extends Task. |
void |
setDynamicAttribute(java.lang.String name,
java.lang.String value)
|
| Methods inherited from class com.sun.istack.tools.ProtectedTask |
|---|
createDynamicElement, execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WrapperTask()
| Method Detail |
|---|
protected java.lang.String getCoreClassName()
ProtectedTaskTask.
This class will be loaded int the protected classloader.
getCoreClassName in class ProtectedTask
public void setDynamicAttribute(java.lang.String name,
java.lang.String value)
throws BuildException
setDynamicAttribute in class ProtectedTaskBuildException
protected java.lang.ClassLoader createClassLoader()
throws java.lang.ClassNotFoundException,
java.io.IOException
ProtectedTask
createClassLoader in class ProtectedTaskjava.lang.ClassNotFoundException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||