Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.activation.CommandInfo
public class CommandInfo
extends java.lang.Object
Constructor Summary | |
|
Method Summary | |
String |
|
String |
|
Object |
|
public CommandInfo(String verb, String className)
Constructor.
- Parameters:
verb
- the command verbclassName
- the command class name
public String getCommandClass()
Returns the command class name.
public String getCommandName()
Returns the command verb.
public Object getCommandObject(DataHandler dh, ClassLoader loader) throws IOException, ClassNotFoundException
Returns the instantiated bean. If the bean implementsCommandObject
, itssetCommandContext
method will be called.
- Parameters:
dh
- the data handler describing the command dataloader
- the class loader used to instantiate the bean