public interface ShellContext
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(ShellContextEventHandler handler)
Adds an event handler to the shell context.
|
Object |
getVariable(QName name)
Gets a variable from the context.
|
void |
removeHandler(ShellContextEventHandler handler)
Removes an event handler from the shell context.
|
Object |
removeVariable(QName name)
Removes a variable from the context.
|
void |
setVariable(QName name,
Object object)
Sets a variable in the context.
|
void |
setVariable(QName name,
Object object,
ShellContextVariableLifecycleHandler lifecycleHandler)
Sets a variable in the context.
|
void setVariable(QName name, Object object)
name - object - void setVariable(QName name, Object object, ShellContextVariableLifecycleHandler lifecycleHandler)
name - object - lifecycleHandler - void addHandler(ShellContextEventHandler handler)
handler - void removeHandler(ShellContextEventHandler handler)
handler - Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.