Package ru.vyarus.guicey.gsp.app.ext
Class ExtendedConfiguration
- java.lang.Object
-
- ru.vyarus.guicey.gsp.app.ext.ExtendedConfiguration
-
public class ExtendedConfiguration extends java.lang.ObjectGsp application extension object. Contains both direct and delayed configurations. Delayed configuration will be applied just before gsp application initialization (after guice context startup).- Since:
- 26.12.2019
-
-
Constructor Summary
Constructors Constructor Description ExtendedConfiguration(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(ru.vyarus.dropwizard.guice.module.installer.bundle.GuiceyEnvironment environment)Apply delayed configuration, if registered.AssetSourcesgetAssets()java.lang.StringgetName()ViewRestSourcesgetViews()voidsetDelayedCallback(DelayedConfigurationCallback callback)
-
-
-
Method Detail
-
setDelayedCallback
public void setDelayedCallback(DelayedConfigurationCallback callback)
-
configure
public void configure(ru.vyarus.dropwizard.guice.module.installer.bundle.GuiceyEnvironment environment)
Apply delayed configuration, if registered.- Parameters:
environment- environment
-
getName
public java.lang.String getName()
- Returns:
- target application name
-
getAssets
public AssetSources getAssets()
- Returns:
- assets extensions
-
getViews
public ViewRestSources getViews()
- Returns:
- views extensions
-
-