|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.activation.CommandInfo
Description of the result of a command request.
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandInfo(String verb, String className)
verb
- the command verbclassName
- the command class nameMethod Detail |
public String getCommandName()
public String getCommandClass()
public Object getCommandObject(DataHandler dh, ClassLoader loader) throws IOException, ClassNotFoundException
CommandObject
, its
setCommandContext
method will be called.
dh
- the data handler describing the command dataloader
- the class loader used to instantiate the bean
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |