Skip to main content

Module registry

Module registry 

Source
Expand description

Policy registry for managing Policy implementations.

The PolicyRegistry maps policy types to their definitions and provides an interface for filtering policies according to their registered definition. Unregistered policy types fall back to DefaultPolicy.

Structsยง

DefaultPolicy ๐Ÿ”’
A Policy that uses the default filtering behavior for any policy type.
PolicyRegistry
A registry mapping each PolicyType to its Policy implementation.
PolicyRegistryBuilder
Builder for PolicyRegistry.