Class WLRmic
java.lang.Object
org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapter
org.apache.tools.ant.taskdefs.rmic.WLRmic
- All Implemented Interfaces:
- RmicAdapter
The implementation of the rmic for WebLogic
- Since:
- Ant 1.4
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringthe name of this adapter for users to selectstatic final StringThe error string to use if not able to find the weblogic rmicstatic final StringThe error string to use if not able to start the weblogic rmicstatic final Stringunsupported error messagestatic final StringThe skeleton suffixstatic final StringThe stub suffixstatic final StringThe classname of the weblogic rmicFields inherited from class org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapterRMI_SKEL_SUFFIX, RMI_STUB_SUFFIX, RMI_TIE_SUFFIX, STUB_1_1, STUB_1_2, STUB_COMPAT, STUB_OPTION_1_1, STUB_OPTION_1_2, STUB_OPTION_COMPAT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringThis is an override point; no stub version is returned.protected booleanWhether the iiop and idl switches are supported.booleanexecute()Carry out the rmic compilation.Get the suffix for the rmic skeleton classesGet the suffix for the rmic stub classesprotected String[]preprocessCompilerArgs(String[] compilerArgs) Strip out all -J args from the command list.Methods inherited from class org.apache.tools.ant.taskdefs.rmic.DefaultRmicAdapterfilterJvmCompilerArgs, getClasspath, getCompileClasspath, getMapper, getRmic, getTieClassSuffix, logAndAddFilesToCompile, setRmic, setupRmicCommand, setupRmicCommand
- 
Field Details- 
WLRMIC_CLASSNAMEThe classname of the weblogic rmic- See Also:
 
- 
COMPILER_NAMEthe name of this adapter for users to select- See Also:
 
- 
ERROR_NO_WLRMIC_ON_CLASSPATHThe error string to use if not able to find the weblogic rmic- See Also:
 
- 
ERROR_WLRMIC_FAILEDThe error string to use if not able to start the weblogic rmic- See Also:
 
- 
WL_RMI_STUB_SUFFIXThe stub suffix- See Also:
 
- 
WL_RMI_SKEL_SUFFIXThe skeleton suffix- See Also:
 
- 
UNSUPPORTED_STUB_OPTIONunsupported error message- See Also:
 
 
- 
- 
Constructor Details- 
WLRmicpublic WLRmic()
 
- 
- 
Method Details- 
areIiopAndIdlSupportedprotected boolean areIiopAndIdlSupported()Description copied from class:DefaultRmicAdapterWhether the iiop and idl switches are supported.This implementation returns false if running on Java 11 onwards and true otherwise. - Overrides:
- areIiopAndIdlSupportedin class- DefaultRmicAdapter
- Returns:
- true if the iiop and idl switches are supported
- Since:
- Ant 1.10.3
 
- 
executeCarry out the rmic compilation.- Returns:
- true if the compilation succeeded
- Throws:
- BuildException- on error
 
- 
getStubClassSuffixGet the suffix for the rmic stub classes- Overrides:
- getStubClassSuffixin class- DefaultRmicAdapter
- Returns:
- the stub suffix
 
- 
getSkelClassSuffixGet the suffix for the rmic skeleton classes- Overrides:
- getSkelClassSuffixin class- DefaultRmicAdapter
- Returns:
- the skeleton suffix
 
- 
preprocessCompilerArgsStrip out all -J args from the command list.- Overrides:
- preprocessCompilerArgsin class- DefaultRmicAdapter
- Parameters:
- compilerArgs- the original compiler arguments
- Returns:
- the filtered set.
 
- 
addStubVersionOptionsThis is an override point; no stub version is returned. If any stub option is set, a warning is printed.- Overrides:
- addStubVersionOptionsin class- DefaultRmicAdapter
- Returns:
- null, for no stub version
 
 
-