|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.console.text.commands.ConsoleCommand org.objectweb.cjdbc.console.text.commands.Native
This class defines a Native
Field Summary |
Fields inherited from class org.objectweb.cjdbc.console.text.commands.ConsoleCommand |
console, jmxClient, module |
Constructor Summary | |
Native(AbstractConsoleModule module)
Creates a new Native.java object |
Method Summary | |
void |
execute(java.lang.String commandText)
Check if the JMX connection is still valid. |
java.lang.String |
getCommandDescription()
Get the description of the command |
java.lang.String |
getCommandName()
Get the name of the command |
void |
parse(java.lang.String commandText)
Parse the text of the command |
Methods inherited from class org.objectweb.cjdbc.console.text.commands.ConsoleCommand |
compareTo, getCommandParameters, getUsage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Native(AbstractConsoleModule module)
Native.java
object
module
- the command is issued fromMethod Detail |
public void parse(java.lang.String commandText) throws java.lang.Exception
ConsoleCommand
parse
in class ConsoleCommand
commandText
- the command text
java.lang.Exception
- if connection with the mbean server is lost or command
does not have the proper formatConsoleCommand.parse(java.lang.String)
public java.lang.String getCommandName()
ConsoleCommand
getCommandName
in class ConsoleCommand
String
of the command nameConsoleCommand.getCommandName()
public java.lang.String getCommandDescription()
ConsoleCommand
getCommandDescription
in class ConsoleCommand
String
of the command descriptionConsoleCommand.getCommandDescription()
public void execute(java.lang.String commandText) throws java.lang.Exception
ConsoleCommand
execute
in class ConsoleCommand
commandText
- the parameters to execute the command with
java.lang.Exception
- if failsConsoleCommand.execute(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |