public final class RootContext extends AbstractContext
Context which has an a globally unique ID but no parent. All request context
chains are terminated by a RootContext as the top-most context.data| Constructor and Description |
|---|
RootContext()
Construct a new
RootContext with the default IdGenerator. |
RootContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
RootContext(String id)
Construct a new
RootContext with the given id (uniqueness is not verified). |
asContext, containsContext, containsContext, getContext, getContextName, getId, getParent, isRootContext, toJsonValue, toStringpublic RootContext()
RootContext with the default IdGenerator.IdGenerator.DEFAULTpublic RootContext(String id)
RootContext with the given id (uniqueness is not verified).id - context identifier (uniqueness is not verified, cannot be null)public RootContext(JsonValue savedContext, ClassLoader classLoader)
savedContext - The JSON representation from which this context's attributes
should be parsed.classLoader - The ClassLoader which can properly resolve the persisted class-name.Copyright © 2025 Open Identity Platform Community. All rights reserved.