javax.activation
public class CommandInfo extends Object
| Constructor Summary | |
|---|---|
| CommandInfo(String verb, String className)
Constructor. | |
| Method Summary | |
|---|---|
| String | getCommandClass()
Returns the command class name. |
| String | getCommandName()
Returns the command verb. |
| Object | getCommandObject(DataHandler dh, ClassLoader loader)
Returns the instantiated bean.
|
Parameters: verb the command verb className the command class name
CommandObject, its
setCommandContext method will be called.Parameters: dh the data handler describing the command data loader the class loader used to instantiate the bean