public final class PolicyContext:
Immutable logical-context values captured by mandatory entity policies.
Context is explicitly passed to the factory and follows the logical manager lifetime; policy code never consults mutable globals or thread-local state.
context = PolicyContext(TenantContext(42)) tenant = context.required<TenantContext>()
| Modifier and Type | Member | Description |
|---|---|---|
| public static readonly property | emptyempty as PolicyContext: |
Shared empty immutable policy context. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | PolicyContextPolicyContext(values... as Object): |
Captures one value for each exact runtime type. |