|
|||||||||
| 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(String commandName,
String commandClass)
Constructor for a CommandInfo |
|
| Method Summary | |
|---|---|
String |
getCommandClass()
Return the implementation class name. |
String |
getCommandName()
Return the command name. |
Object |
getCommandObject(DataHandler dh,
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(String commandName,
String commandClass)
commandName - the command namecommandClass - the name of the command's implementation class| Method Detail |
|---|
public String getCommandName()
public String getCommandClass()
public Object getCommandObject(DataHandler dh,
ClassLoader loader)
throws IOException,
ClassNotFoundException
dh - a DataHandler that provides the data to be passed to the commandloader - the ClassLoader to be used to instantiate the command
IOException - if there was a problem initializing the command
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 | ||||||||