public interface Environment
Environmental,
EnvironmentalShadowBuilder| Modifier and Type | Method and Description |
|---|---|
void |
cloak()
Deprecated.
Deprecated in 5.4 with no replacement; not longer used by Tapestry.
|
void |
decloak()
Deprecated.
Deprecated in 5.4 with no replacement; not longer used by Tapestry.
|
<T> T |
peek(Class<T> type)
Peeks at the current top of the indicated stack.
|
<T> T |
peekRequired(Class<T> type)
Peeks at the current top of the indicated stack (which must have a non-null value).
|
<T> T |
pop(Class<T> type)
Removes and returns the top environmental object of the selected type.
|
<T> T |
push(Class<T> type,
T instance)
Pushes a new service onto the stack.
|
<T> T peek(Class<T> type)
T - the type of environmental objecttype - class used to select the object<T> T peekRequired(Class<T> type)
T - the type of environmental objecttype - class used to select the objectRuntimeException - if no service of that type has been added<T> T pop(Class<T> type)
T - the type of environmental objecttype - class used to select the objectNoSuchElementException - if the environmental stack (for the specified type) is empty<T> T push(Class<T> type, T instance)
T - the type of environmental objecttype - class used to select the objectinstance - the service objectvoid cloak()
decloak()} restores the original state.TapestryConstants.RESPONSE_RENDERERvoid decloak()
cloak()}.TapestryConstants.RESPONSE_RENDERER5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.