|
Knopflerfish OSGi 3.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A Command Processor is a service that is registered by a script engine that can execute commands. A Command Processor is a factory for Command Session objects. The Command Session maintains execution state and holds the console and keyboard streams. A Command Processor must track any services that are registered with the COMMAND_SCOPE and COMMAND_FUNCTION properties. The functions listed in the COMMAND_FUNCTION property must be made available as functions in the script language. TODO The javadoc in this class need a good scrub before release.
| Field Summary | |
static java.lang.String |
COMMAND_FUNCTION
A String, array, or list of method names that may be called for this command provider. |
static java.lang.String |
COMMAND_SCOPE
The scope of commands provided by this service. |
| Method Summary | |
CommandSession |
createSession(java.io.InputStream in,
java.io.PrintStream out,
java.io.PrintStream err)
Create a new command session associated with IO streams. |
| Field Detail |
public static final java.lang.String COMMAND_SCOPE
public static final java.lang.String COMMAND_FUNCTION
| Method Detail |
public CommandSession createSession(java.io.InputStream in,
java.io.PrintStream out,
java.io.PrintStream err)
in - The value used for System.inout - The stream used for System.outerr - The stream used for System.err
|
Knopflerfish OSGi 3.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||