|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.jvm.DiagnosticCommand
public abstract class DiagnosticCommand
Support for running internal diagnostic commands in a running JVM. These are typically same commands found in the attach service. This interface is preliminary and subject to change.
Nested Class Summary | |
---|---|
class |
DiagnosticCommand.Command
This class wraps a named Command in the JVM |
Constructor Summary | |
---|---|
protected |
DiagnosticCommand()
|
Method Summary | |
---|---|
java.lang.String |
execute(java.lang.String command)
Finds and run a command by name. |
abstract void |
execute(java.lang.String command,
java.io.OutputStream resultstream)
Finds and run a command by name, parameterized as ' |
abstract void |
executeDefault(java.lang.String command)
Finds and run a command by name. |
abstract java.lang.String[] |
getAvailableCommandNames()
Get the names of the available commands in the JVM |
DiagnosticCommand.Command |
getCommand(java.lang.String name)
Find a named command |
java.util.Collection |
getCommands()
return a Collection of DiagnosticCommand.Command entries representing available commands in the JVM. |
protected java.lang.String |
getDefaultEncoding()
|
java.lang.String |
getDescription()
Returns a description of the object. |
static DiagnosticCommand |
getDiagnosticCommand()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected DiagnosticCommand()
Method Detail |
---|
public static DiagnosticCommand getDiagnosticCommand()
public java.util.Collection getCommands()
public DiagnosticCommand.Command getCommand(java.lang.String name) throws NotAvailableException
NotAvailableException
public abstract java.lang.String[] getAvailableCommandNames()
public abstract void execute(java.lang.String command, java.io.OutputStream resultstream) throws java.io.IOException
java.io.IOException
public abstract void executeDefault(java.lang.String command)
DiagnosticCommand.execute
public java.lang.String execute(java.lang.String command)
DiagnosticCommand.execute
protected java.lang.String getDefaultEncoding()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDescription()
Describable
getDescription
in interface Describable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |