|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjavax.activation.CommandInfo
public class CommandInfo
| Constructor Summary | |
|---|---|
CommandInfo(java.lang.String commandName,
java.lang.String commandClass)
Constructor for a CommandInfo |
|
| Method Summary | |
|---|---|
java.lang.String |
getCommandClass()
Return the implementation class name. |
java.lang.String |
getCommandName()
Return the command name. |
java.lang.Object |
getCommandObject(DataHandler dh,
java.lang.ClassLoader loader)
Instantiate and return a command JavaBean. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandInfo(java.lang.String commandName,
java.lang.String commandClass)
commandName - the command namecommandClass - the name of the command's implementation class| Method Detail |
|---|
public java.lang.String getCommandName()
public java.lang.String getCommandClass()
public java.lang.Object getCommandObject(DataHandler dh,
java.lang.ClassLoader loader)
throws java.io.IOException,
java.lang.ClassNotFoundException
dh - a DataHandler that provides the data to be passed to the commandloader - the ClassLoader to be used to instantiate the command
java.io.IOException - if there was a problem initializing the command
java.lang.ClassNotFoundException - if the command class could not be found
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||