Package | Description |
---|---|
org.apache.felix.gogo.runtime | |
org.apache.felix.gogo.runtime.activator | |
org.apache.felix.service.command |
Modifier and Type | Class and Description |
---|---|
class |
CommandSessionImpl |
Modifier and Type | Field and Description |
---|---|
protected WeakHashMap<CommandSession,Object> |
CommandProcessorImpl.sessions |
Modifier and Type | Method and Description |
---|---|
static Object |
Reflective.coerce(CommandSession session,
Class<?> type,
Object arg,
int[] convert)
converts given argument to specified type and increments convert[0] if any conversion was needed.
|
Object |
CommandProcessorImpl.convert(CommandSession session,
Class<?> desiredType,
Object in) |
CommandSessionImpl |
CommandProcessorImpl.createSession(CommandSession parent) |
Object |
CommandProcessorImpl.eval(CommandSession session,
Object[] argv) |
Object |
CommandProxy.execute(CommandSession session,
List<Object> arguments) |
Object |
Closure.execute(CommandSession x,
List<Object> values) |
Object |
Closure.execute(CommandSession x,
List<Object> values,
Channel capturingOutput) |
static Object |
Reflective.invoke(CommandSession session,
Object target,
String name,
List<Object> args)
invokes the named method on the given target using the supplied args,
which are converted if necessary.
|
Modifier and Type | Method and Description |
---|---|
void |
EventAdminListener.afterExecute(CommandSession session,
CharSequence command,
Exception exception) |
void |
EventAdminListener.afterExecute(CommandSession session,
CharSequence command,
Object result) |
void |
EventAdminListener.beforeExecute(CommandSession session,
CharSequence command) |
Modifier and Type | Method and Description |
---|---|
CommandSession |
CommandProcessor.createSession(CommandSession parent) |
CommandSession |
CommandProcessor.createSession(InputStream in,
OutputStream out,
OutputStream err)
Create a new command session associated with IO streams.
|
static CommandSession |
CommandSession.Utils.current() |
CommandSession |
Job.session() |
Modifier and Type | Method and Description |
---|---|
void |
CommandSessionListener.afterExecute(CommandSession session,
CharSequence command,
Exception exception) |
void |
CommandSessionListener.afterExecute(CommandSession session,
CharSequence command,
Object result) |
void |
CommandSessionListener.beforeExecute(CommandSession session,
CharSequence command) |
CommandSession |
CommandProcessor.createSession(CommandSession parent) |
Object |
Function.execute(CommandSession session,
List<Object> arguments)
Execute this function and return the result.
|
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.