public class ShellContextImpl extends Object implements ShellContext
| Constructor and Description |
|---|
ShellContextImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(ShellContextEventHandler handler) |
void |
destroy()
Called to destroy the context.
|
Object |
getVariable(QName name) |
void |
removeHandler(ShellContextEventHandler handler) |
Object |
removeVariable(QName name) |
void |
setVariable(QName name,
Object object) |
void |
setVariable(QName name,
Object object,
ShellContextVariableLifecycleHandler lifecycleHandler) |
public void setVariable(QName name, Object object)
setVariable in interface ShellContextshell.ShellContextpublic void setVariable(QName name, Object object, ShellContextVariableLifecycleHandler lifecycleHandler)
setVariable in interface ShellContextshell.ShellContextpublic Object getVariable(QName name)
getVariable in interface ShellContextshell.ShellContextpublic Object removeVariable(QName name)
removeVariable in interface ShellContextshell.ShellContextpublic void destroy()
public void addHandler(ShellContextEventHandler handler)
addHandler in interface ShellContextshell.ShellContextpublic void removeHandler(ShellContextEventHandler handler)
removeHandler in interface ShellContextshell.ShellContextCopyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.