ThreadContext.setResources

Allows a caller to explicitly set the entire resource map. This operation overwrites everything that existed previously in the ThreadContext - if you need to retain what was on the thread prior to calling this method, call the {@link #getResources()} method, which will give you the existing state.

@param newResources the resources to replace the existing {@link #getResources() resources}.

class ThreadContext
static
void
setResources
(
Map!(string, Object) newResources
)

Meta