com.threerings.presents.tools
Class InvocationTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.threerings.presents.tools.GenTask
com.threerings.presents.tools.InvocationTask
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- GenReceiverTask, GenServiceTask
public abstract class InvocationTask
- extends GenTask
A base Ant task for generating invocation service related marshalling and unmarshalling
classes.
| Methods inherited from class com.threerings.presents.tools.GenTask |
addFileset, convertEols, createMap, loadClass, loadClass, mergeTemplate, mergeTemplate, processClass, setChecking, setClasspathref, setHeader, wouldProduceSameFile, writeFile, writeTemplate, writeTemplate |
| Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
_ilistener
protected Class<?> _ilistener
InvocationService.InvocationListener resolved with the proper classloader so that we can compare it
to loaded derived classes.
_iclient
protected Class<?> _iclient
Client resolved with the proper classloader so that we can compare it to loaded
derived classes.
InvocationTask
public InvocationTask()
createAndGatherImports
public InvocationTask.ServiceMethod createAndGatherImports(Method method,
ImportSet imports)
- Creates a new service method and adds its basic imports to a set.
- Parameters:
method - the method to createimports - will be filled with the types required by the method
execute
public void execute()
- Description copied from class:
GenTask
- Performs the actual work of the task.
- Overrides:
execute in class GenTask
checkedAdd
protected static <T> void checkedAdd(List<T> list,
T value)
replacePath
protected static String replacePath(String source,
String oldstr,
String newstr)