public class ServerPagesAppBundle
extends java.lang.Object
implements io.dropwizard.ConfiguredBundle<io.dropwizard.Configuration>
ServerPagesBundle.app(String, String, String) or
ServerPagesBundle.adminApp(String, String, String)).
Additional bundle is required because in some cases global ServerPagesBundle will be initialized
before application is registered (e.g. when application is registered from guicey bundle).
| Constructor and Description |
|---|
ServerPagesAppBundle(GlobalConfig config,
ServerPagesApp app) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
void |
run(io.dropwizard.Configuration configuration,
io.dropwizard.setup.Environment environment) |
public ServerPagesAppBundle(GlobalConfig config, ServerPagesApp app)
public void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize in interface io.dropwizard.ConfiguredBundle<io.dropwizard.Configuration>public void run(io.dropwizard.Configuration configuration,
io.dropwizard.setup.Environment environment)
throws java.lang.Exception
run in interface io.dropwizard.ConfiguredBundle<io.dropwizard.Configuration>java.lang.Exception