|
Service Management Framework Release 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.osg.smf.SMFConsole
This class starts SMF with a console for development use. SMFConsole provides a printStackTrace method to print Exceptions and their nested Exceptions.
Constructor Summary | |
SMFConsole(SMF smf,
int port,
java.lang.String[] args)
Constructor for SMFConsole. |
|
SMFConsole(SMF smf,
java.lang.String[] args)
Constructor for SMFConsole. |
Method Summary | |
void |
console(java.lang.String[] args)
Command Line Interface for SMF. |
java.lang.String |
getInput()
Reads a string from standard input until user hits the Enter key. |
java.io.BufferedReader |
getReader()
Return the current input BufferedReader |
boolean |
getUseSocketStream()
|
java.io.PrintWriter |
getWriter()
Return the current output PrintWriter |
static void |
main(java.lang.String[] args)
main method for SMFConsole. |
void |
run()
Begin doing the active part of the class' code. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SMFConsole(SMF smf, java.lang.String[] args)
smf
- - an instance of an smf frameworkargs
- - any arguments passed on the command line when SMFLauncher is started.public SMFConsole(SMF smf, int port, java.lang.String[] args)
smf
- - an instance of an smf frameworkargs
- - any arguments passed on the command line when SMFLauncher is started.Method Detail |
public static void main(java.lang.String[] args)
public java.io.PrintWriter getWriter()
public java.io.BufferedReader getReader()
public boolean getUseSocketStream()
public void run()
run
in interface java.lang.Runnable
public void console(java.lang.String[] args)
args
- Initial set of commands to execute.public java.lang.String getInput()
|
Service Management Framework Release 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |