org.apache.tools.ant.taskdefs.rmic

Class RmicAdapterFactory

public class RmicAdapterFactory extends Object

Creates the necessary rmic adapter, given basic criteria.

Since: 1.4

Method Summary
static RmicAdaptergetRmic(String rmicType, Task task)
Based on the parameter passed in, this method creates the necessary factory desired.

Method Detail

getRmic

public static RmicAdapter getRmic(String rmicType, Task task)
Based on the parameter passed in, this method creates the necessary factory desired.

The current mapping for rmic names are as follows:

Parameters: rmicType either the name of the desired rmic, or the full classname of the rmic's adapter. task a task to log through.

Throws: BuildException if the rmic type could not be resolved into a rmic adapter.

Copyright