public class CommandInfo extends Object
Constructor and Description |
---|
CommandInfo(String commandName,
String commandClass)
Constructor for a CommandInfo
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 commandIOException
- if there was a problem initializing the commandClassNotFoundException
- if the command class could not be foundCopyright © 2013. All Rights Reserved.