public interface Shell<E>
Modifier and Type | Method and Description |
---|---|
<ES extends Shell<E>> |
extend(Class<ES> extensionType,
E e)
Extend current shell, and return a new Shell with the current as its inner-shell (or
parent() |
Shell<E> |
get(Class c)
Fetch a particular inner Shell based on environment type it uses
|
E |
getEnvironment()
Returns the system set context, instance or environment for the current Shell
|
Shell<E> |
parent()
Access to a parent (wrapped shell), unless there is no parent (null)
|
void |
setEnvironment(E environment)
Returns the system set context, instance or environment for the current Shell
|
E getEnvironment()
void setEnvironment(E environment)
Shell<E> parent() throws AuthorizationException
AuthorizationException
Shell<E> get(Class c) throws AuthorizationException
c
- as Class of Shell type or Environment looking for. (implementation dependent)Shell
AuthorizationException
Copyright © 2018. All rights reserved.