THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
In certain cases, Tapestry exposes a service (which can be injected) that is a proxy to the environmental; this is primarily for common environmentals, such as JavaScriptSupport, that may be needed outside of component classes. You can see this in TapestryModule:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
/** * Builds a proxy to the current {@link JavaScriptSupport} inside this thread's {@link Environment}. * * @since 5.2.0 */ public JavaScriptSupport buildJavaScriptSupport() { return environmentalBuilder.build(JavaScriptSupport.class); } |
...
Yes, of course Tapestry is thread safe. The Request service is another special case, as seen in TapestryModule:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
public Request buildRequest() { return shadowBuilder.build(requestGlobals, "request", Request.class); } |
...