|
Knopflerfish OSGi 1.3.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Console service for OSG platforms. This service is meant for building an extensible debug console for OSG systems. The ConsoleService has two methods one for running a single command and one for running a session of commands. The console service can execute any command from all the exported CommandGroup services in the platform.
Method Summary | |
java.lang.String |
runCommand(java.lang.String command)
Run a command string. |
Session |
runSession(java.lang.String name,
java.io.Reader in,
java.io.PrintWriter out)
Start a command session. |
java.lang.String[] |
setAlias(java.lang.String key,
java.lang.String[] val)
Set alias value for a shortcut key. |
Method Detail |
public Session runSession(java.lang.String name, java.io.Reader in, java.io.PrintWriter out) throws java.io.IOException
name
- name of sessionin
- input to sessionout
- output from session
java.io.IOException
- if we fail to use input or outputpublic java.lang.String runCommand(java.lang.String command)
command
- command and arguments as string
public java.lang.String[] setAlias(java.lang.String key, java.lang.String[] val)
|
Knopflerfish OSGi 1.3.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |