3 new static methods on the RequestBoxContext class
public static RequestBoxContext getCurrent()
public static void setCurrent( RequestBoxContext context )
public static void removeCurrent()
The BoxRuntime executeXXX() methods, REPL, JSR-223 scripting API, and web request executor have all been updated to automatically add/remove the current request context to/from the thread. Furthermore, the generated code for createDynamicProxy() and extending a Java class have been updated to look for and use, if found, the thread local context.
ORM needs to use this as well for listeners.
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
3 new static methods on the
RequestBoxContext
classpublic static RequestBoxContext getCurrent()
public static void setCurrent( RequestBoxContext context )
public static void removeCurrent()
The BoxRuntime executeXXX() methods, REPL, JSR-223 scripting API, and web request executor have all been updated to automatically add/remove the current request context to/from the thread. Furthermore, the generated code for
createDynamicProxy()
and extending a Java class have been updated to look for and use, if found, the thread local context.ORM needs to use this as well for listeners.