Interface ScimObserver
Fixed redacted events for SCIM operations. Hooks must be fast, deterministic and thread-safe.
The facade contains ordinary hook failures and restores interruption; fatal VM errors escape.
Events never carry request bodies, filters, identifiers, credentials or arbitrary exceptions.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumFixed public processing operation kinds, including separately sequenced PATCH operations.static enumFixed direct-result classifications, without data or exception payloads. -
Method Summary
Modifier and TypeMethodDescriptiondefault voiddidFailToProcess(@NonNull ScimObserver.Operation operation) Called once when an unexpected processing fault is contained as a fixed internalError result.default voiddidProcess(@NonNull ScimObserver.Operation operation, @NonNull ScimObserver.Outcome outcome) Called once for checked completion, including an expected rejection, of a public processing operation.default voidCalled once per feature actually used during a public operation.static @NonNull ScimObserverReturns the shared observer whose hooks do nothing.default voidwillProcess(@NonNull ScimObserver.Operation operation) Called once before a public processing operation.
-
Method Details
-
disabledInstance
Returns the shared observer whose hooks do nothing.- Returns:
- the disabled observer
- Since:
- 1.0.0
-
willProcess
Called once before a public processing operation.- Parameters:
operation- the fixed operation kind- Since:
- 1.0.0
-
didProcess
default void didProcess(@NonNull ScimObserver.Operation operation, @NonNull ScimObserver.Outcome outcome) Called once for checked completion, including an expected rejection, of a public processing operation. An unexpected processing fault instead calls didFailToProcess, even when a fixed error result is returned to the caller.- Parameters:
operation- the fixed operation kindoutcome- the fixed result classification- Since:
- 1.0.0
-
didFailToProcess
Called once when an unexpected processing fault is contained as a fixed internalError result. This replaces didProcess for that operation; the caller still receives its fixed error outcome. Events disclose no fault payload. Interruption is preserved, and fatal VM errors escape.- Parameters:
operation- the fixed operation kind- Since:
- 1.0.0
-
didUseCompatibilityFeature
Called once per feature actually used during a public operation.- Parameters:
feature- the explicitly configured fixed feature- Since:
- 1.0.0
-