MutableNovaRegistry
A mutable NovaRegistry that allows registering entries and tags via set. After initialization, the registry can be frozen to prevent further modifications and bind values to entries.
Some registries may be reloadable, allowing reload to reconfigure the registered contents of the registry. Corresponding entries and entry sets will be updated accordingly.
Properties
A set containing all entries in this registry.
Whether the registry is reloadable, i.e. whether it can be reset and modified after being frozen.
A provider containing all tags in this registry.
An unmodifiable view of this registry.
Functions
Freezes the registry. This binds RegistryEntries to their values and prevents any further modifications to the registry. Requires prior registration of all elements and tags referenced in entries and entry sets.
Gets an entry for the given key. This function may be used before registries are frozen (i.e. during bootstrap) and before the actual value is available. Attempting to resolve the entry's value before registry freeze will throw an exception. If no entry was registered under key, registry freezing will fail.
Gets an entry set containing all entries of the tag with the given key. This function may be used before registries are frozen (i.e. during bootstrap) and before the actual tag is available. Attempting to resolve the entry set's contents before registry freeze will throw an exception. If no tag was registered under key, registry freezing will fail.
Gets the value registered under key, or throws an exception if no value exists.
Gets all entries with the given name, ignoring their namespace.
Atomically reloads the registry by: