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 DelayedConfigurationCallback
    Assets and views delayed configuration callback for server pages application extensions. Used to perform configurations under run phase.
    Since:
    29.11.2019
    • 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 object
        assets - object for registration of extended locations
        views - object for registration of additional view mappings