com.threerings.presents.tools
Class GenDObjectTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.threerings.presents.tools.GenTask
              extended by com.threerings.presents.tools.GenDObjectTask
All Implemented Interfaces:
Cloneable

public class GenDObjectTask
extends GenTask

Generates necessary additional distributed object declarations and methods.


Field Summary
protected  Class<?> _doclass
          DObject resolved with the proper classloader so that we can compare it to loaded derived classes.
protected  Class<?> _dsclass
          DSet resolved with the proper classloader so that we can compare it to loaded derived classes.
protected  Class<?> _olclass
          OidList resolved with the proper classloader so that we can compare it to loaded derived classes.
protected static String BASE_TMPL
          Specifies the start of the path to our various templates.
protected static String NAME_TMPL
          Specifies the path to the name code template.
 
Fields inherited from class com.threerings.presents.tools.GenTask
_checking, _cloader, _filesets, _header, _modifiedPaths, EOL
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
GenDObjectTask()
           
 
Method Summary
 void execute()
          Performs the actual work of the task.
 void processClass(File source, Class<?> oclass)
          Processes a resolved distributed object class instance.
 
Methods inherited from class com.threerings.presents.tools.GenTask
addFileset, convertEols, createMap, loadClass, loadClass, mergeTemplate, mergeTemplate, 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
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_doclass

protected Class<?> _doclass
DObject resolved with the proper classloader so that we can compare it to loaded derived classes.


_dsclass

protected Class<?> _dsclass
DSet resolved with the proper classloader so that we can compare it to loaded derived classes.


_olclass

protected Class<?> _olclass
OidList resolved with the proper classloader so that we can compare it to loaded derived classes.


BASE_TMPL

protected static final String BASE_TMPL
Specifies the start of the path to our various templates.

See Also:
Constant Field Values

NAME_TMPL

protected static final String NAME_TMPL
Specifies the path to the name code template.

See Also:
Constant Field Values
Constructor Detail

GenDObjectTask

public GenDObjectTask()
Method Detail

execute

public void execute()
Description copied from class: GenTask
Performs the actual work of the task.

Overrides:
execute in class GenTask

processClass

public void processClass(File source,
                         Class<?> oclass)
                  throws Exception
Processes a resolved distributed object class instance.

Specified by:
processClass in class GenTask
Throws:
Exception