Class RmicAdapterFactory
java.lang.Object
org.apache.tools.ant.taskdefs.rmic.RmicAdapterFactory
Creates the necessary rmic adapter, given basic criteria.
- Since:
- 1.4
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionstatic RmicAdapterBased on the parameter passed in, this method creates the necessary factory desired.static RmicAdapterBased on the parameter passed in, this method creates the necessary factory desired.
- 
Field Details- 
ERROR_UNKNOWN_COMPILERThe error message to be used when the compiler cannot be found.- See Also:
 
- 
ERROR_NOT_RMIC_ADAPTERThe error message to be used when the class is not an rmic adapter.- See Also:
 
- 
DEFAULT_COMPILERIf the compiler has this name use a default compiler.- See Also:
 
 
- 
- 
Method Details- 
getRmicBased on the parameter passed in, this method creates the necessary factory desired.The current mapping for rmic names are as follows: - sun = SUN's rmic
- kaffe = Kaffe's rmic
- a fully qualified classname = the name of a rmic adapter
- weblogic = weblogic compiler
- forking = Sun's RMIC by forking a new JVM
 - Parameters:
- rmicType- either the name of the desired rmic, or the full classname of the rmic's adapter.
- task- a task to log through.
- Returns:
- the compiler adapter
- Throws:
- BuildException- if the rmic type could not be resolved into a rmic adapter.
 
- 
getRmicBased on the parameter passed in, this method creates the necessary factory desired.The current mapping for rmic names are as follows: - sun = SUN's rmic
- kaffe = Kaffe's rmic
- a fully qualified classname = the name of a rmic adapter
- weblogic = WebLogic compiler
- forking = Sun's RMIC by forking a new JVM
 - Parameters:
- rmicType- either the name of the desired rmic, or the full classname of the rmic's adapter.
- task- a task to log through.
- classpath- the classpath to use when looking up an adapter class
- Returns:
- the compiler adapter
- Throws:
- BuildException- if the rmic type could not be resolved into a rmic adapter.
- Since:
- Ant 1.8.0
 
 
-