public class ScaffoldingRuntimeHints extends java.lang.Object implements RuntimeHintsRegistrar
Registers the controller a scaffolded resource is served by, and the templates its pages are found by.
Its actions are reached through Groovy, including the protected ones it defines for the write operations, so an image that keeps only the members something asked for serves the pages and then fails on the request that saves or removes a record.
The pages themselves are compiled by the build, but the resolver still reads the template a page was expanded from, because the page is named for it. An image without the templates finds no template, and so no page, for any scaffolded view.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
registerHints(RuntimeHints hints, java.lang.ClassLoader classLoader) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |