Package | Description |
---|---|
ratpack.registry |
Registries hold objects that can be retrieved via type, and are a key aspect of Ratpack applications.
|
ratpack.remote |
Integration with Groovy Remote Control.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RegistryBuilder
A builder of
registries . |
Modifier and Type | Method and Description |
---|---|
<O> RegistrySpec |
RegistrySpec.add(Class<? super O> type,
O object)
Adds a registry entry that is available by the given type.
|
<O> RegistrySpec |
RegistrySpec.add(Class<O> type,
Factory<? extends O> factory)
Adds a lazily created entry to the registry.
|
RegistrySpec |
RegistrySpec.add(Object object)
Adds a registry entry.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CommandDelegate
The delegate object for commands
|