Package ratpack.exec.registry
Registries hold objects that can be retrieved via type, and are a key aspect of Ratpack applications.
Registries are primarily used for inter Handler
communication in request processing.
The Context
object that handles operate on implements the Registry
interface.
See Registry
for examples of how registries are used by handlers.
- See Also:
Registry
-
Interface Summary Interface Description MutableRegistry ARegistry
that is also mutable.Registry An object registry.RegistryBacking Provides instances to the Registry implementation which uses an implementation of this interface for backing the instances that the Registry contains or returns.RegistryBuilder A builder ofregistries
.RegistrySpec An additive specification of a registry. -
Exception Summary Exception Description NotInRegistryException Thrown when a request is made for an object that a registry cannot provide.