org.overlord.sramp.shell
Class ShellContextImpl
java.lang.Object
org.overlord.sramp.shell.ShellContextImpl
- All Implemented Interfaces:
- ShellContext
public class ShellContextImpl
- extends Object
- implements ShellContext
Implementation of the shell context.
- Author:
- eric.wittmann@redhat.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShellContextImpl
public ShellContextImpl()
- Constructor.
setVariable
public void setVariable(QName name,
Object object)
- Specified by:
setVariable in interface ShellContext
- See Also:
shell.ShellContext
setVariable
public void setVariable(QName name,
Object object,
ShellContextVariableLifecycleHandler lifecycleHandler)
- Specified by:
setVariable in interface ShellContext
- See Also:
shell.ShellContext
getVariable
public Object getVariable(QName name)
- Specified by:
getVariable in interface ShellContext
- See Also:
shell.ShellContext
removeVariable
public Object removeVariable(QName name)
- Specified by:
removeVariable in interface ShellContext
- See Also:
shell.ShellContext
destroy
public void destroy()
- Called to destroy the context.
addHandler
public void addHandler(ShellContextEventHandler handler)
- Specified by:
addHandler in interface ShellContext
- See Also:
shell.ShellContext
removeHandler
public void removeHandler(ShellContextEventHandler handler)
- Specified by:
removeHandler in interface ShellContext
- See Also:
shell.ShellContext
Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.