Package ru.vyarus.guicey.gsp.app.ext
Interface DelayedConfigurationCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Assets and views delayed configuration callback for server pages application extensions. Used to perform
configurations under run phase.
- Since:
- 29.11.2019
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(ru.vyarus.dropwizard.guice.module.installer.bundle.GuiceyEnvironment environment, AssetSources assets, ViewRestSources views) Called under run phase to perform delayed extensions configuration.
-
Method Details
-
configure
void configure(ru.vyarus.dropwizard.guice.module.installer.bundle.GuiceyEnvironment environment, AssetSources assets, ViewRestSources views) Called under run phase to perform delayed extensions configuration.For assets multiple package registrations per url is allowed, but for views only one prefix could be mapped to url. Most likely, root views mapping will be already configured by application itself (but if not then root mapping may be applied).
- Parameters:
environment- guicey environment objectassets- object for registration of extended locationsviews- object for registration of additional view mappings
-