public class EnvironmentImpl extends java.lang.Object implements Environment
| Constructor and Description | 
|---|
| EnvironmentImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | cloak()Hides all current environment values, making the Environment object appear empty, until
 a call to  Environment.decloak()} restores the original state. | 
| void | decloak()Restores state previously hidden by  Environment.cloak()}. | 
| <T> T | peek(java.lang.Class<T> type)Peeks at the current top of the indicated stack. | 
| <T> T | peekRequired(java.lang.Class<T> type)Peeks at the current top of the indicated stack (which must have a non-null value). | 
| <T> T | pop(java.lang.Class<T> type)Removes and returns the top environmental object of the selected type. | 
| <T> T | push(java.lang.Class<T> type,
    T instance)Pushes a new service onto the stack. | 
| void | threadDidCleanup() | 
public EnvironmentImpl()
public <T> T peek(java.lang.Class<T> type)
Environmentpeek in interface EnvironmentT - the type of environmental objecttype - class used to select the objectpublic <T> T peekRequired(java.lang.Class<T> type)
EnvironmentpeekRequired in interface EnvironmentT - the type of environmental objecttype - class used to select the objectpublic <T> T pop(java.lang.Class<T> type)
Environmentpop in interface EnvironmentT - the type of environmental objecttype - class used to select the objectpublic <T> T push(java.lang.Class<T> type, T instance)
Environmentpush in interface EnvironmentT - the type of environmental objecttype - class used to select the objectinstance - the service objectpublic void threadDidCleanup()
public void cloak()
EnvironmentEnvironment.decloak()} restores the original state.cloak in interface EnvironmentTapestryConstants.RESPONSE_RENDERERpublic void decloak()
EnvironmentEnvironment.cloak()}.decloak in interface EnvironmentTapestryConstants.RESPONSE_RENDERER${project.version} - Copyright © 2003-2015 The Apache Software Foundation.