public abstract class DefaultRmicAdapter extends java.lang.Object implements RmicAdapter
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | RMI_SKEL_SUFFIXsuffix denoting a skel file: "_Skel" | 
| static java.lang.String | RMI_STUB_SUFFIXsuffix denoting a stub file: "_Stub" | 
| static java.lang.String | RMI_TIE_SUFFIXsuffix denoting a tie file: "_Tie" | 
| static java.lang.String | STUB_1_1arg for 1.1: "-v1.1" | 
| static java.lang.String | STUB_1_2arg for 1.2: "-v1.2" | 
| static java.lang.String | STUB_COMPATarg for compat: "-vcompat" | 
| static java.lang.String | STUB_OPTION_1_1option for stub 1.1 in the rmic task: "1.1" | 
| static java.lang.String | STUB_OPTION_1_2option for stub 1.2 in the rmic task: "1.2" | 
| static java.lang.String | STUB_OPTION_COMPAToption for stub compat in the rmic task: "compat" | 
| Constructor and Description | 
|---|
| DefaultRmicAdapter()Default constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| protected java.lang.String | addStubVersionOptions()This is an override point; get the stub version off the rmic command and
 translate that into a compiler-specific argument | 
| protected java.lang.String[] | filterJvmCompilerArgs(java.lang.String[] compilerArgs)Strip out all -J args from the command list. | 
| Path | getClasspath()Gets the CLASSPATH this rmic process will use. | 
| protected Path | getCompileClasspath()Builds the compilation classpath. | 
| FileNameMapper | getMapper()This implementation returns a mapper that may return up to two
 file names. | 
| Rmic | getRmic()Get the Rmic attributes | 
| protected java.lang.String | getSkelClassSuffix()Gets the skeleton class suffix | 
| protected java.lang.String | getStubClassSuffix()Gets the stub class suffix | 
| protected java.lang.String | getTieClassSuffix()Gets the tie class suffix | 
| protected void | logAndAddFilesToCompile(Commandline cmd)Logs the compilation parameters, adds the files to compile and logs the
 "niceSourceList" | 
| protected java.lang.String[] | preprocessCompilerArgs(java.lang.String[] compilerArgs)Preprocess the compiler arguments in any way you see fit. | 
| void | setRmic(Rmic attributes)Sets Rmic attributes | 
| protected Commandline | setupRmicCommand()Setup rmic argument for rmic. | 
| protected Commandline | setupRmicCommand(java.lang.String[] options)Setup rmic argument for rmic. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic static final java.lang.String RMI_STUB_SUFFIX
public static final java.lang.String RMI_SKEL_SUFFIX
public static final java.lang.String RMI_TIE_SUFFIX
public static final java.lang.String STUB_COMPAT
public static final java.lang.String STUB_1_1
public static final java.lang.String STUB_1_2
public static final java.lang.String STUB_OPTION_1_1
public static final java.lang.String STUB_OPTION_1_2
public static final java.lang.String STUB_OPTION_COMPAT
public void setRmic(Rmic attributes)
setRmic in interface RmicAdapterattributes - the rmic attributespublic Rmic getRmic()
protected java.lang.String getStubClassSuffix()
protected java.lang.String getSkelClassSuffix()
protected java.lang.String getTieClassSuffix()
public FileNameMapper getMapper()
getMapper in interface RmicAdapterFileNameMapperpublic Path getClasspath()
getClasspath in interface RmicAdapterprotected Path getCompileClasspath()
protected Commandline setupRmicCommand()
protected Commandline setupRmicCommand(java.lang.String[] options)
options - additional parameters needed by a specific
                implementation.protected java.lang.String addStubVersionOptions()
protected java.lang.String[] preprocessCompilerArgs(java.lang.String[] compilerArgs)
compilerArgs - the original compiler argumentsprotected java.lang.String[] filterJvmCompilerArgs(java.lang.String[] compilerArgs)
preprocessCompilerArgs(String[]) if you have a non-forking
 compiler.compilerArgs - the original compiler argumentsprotected void logAndAddFilesToCompile(Commandline cmd)
cmd - the commandline args