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.
@FunctionalInterface public interface DelayedConfigurationCallbackAssets and views delayed configuration callback for server pages application extensions. Used to perform configurations under run phase.- Since:
- 29.11.2019
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigure(ru.vyarus.dropwizard.guice.module.installer.bundle.GuiceyEnvironment environment, AssetSources assets, ViewRestSources views)Called under run phase to perform delayed extensions configuration.
-
-
-
Method Detail
-
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
-
-