public class Server extends io.dropwizard.Application<ApplicationConfiguration>
| Constructor and Description |
|---|
Server(AuthenticationService authenticationService,
Metrics metrics,
HttpMetricsTagProvider httpMetricsTagProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bootstrapLogging() |
void |
initialize(io.dropwizard.setup.Bootstrap<ApplicationConfiguration> bootstrap) |
void |
run(ApplicationConfiguration applicationConfiguration,
io.dropwizard.setup.Environment environment) |
void |
run(String... arguments)
The only reason we override this is to remove the call to
bootstrap.registerMetrics(). |
public Server(AuthenticationService authenticationService, Metrics metrics, HttpMetricsTagProvider httpMetricsTagProvider)
public void run(String... arguments)
bootstrap.registerMetrics().
JVM metrics are registered once at the top level in the health-checker module.
run in class io.dropwizard.Application<ApplicationConfiguration>public void run(ApplicationConfiguration applicationConfiguration, io.dropwizard.setup.Environment environment)
run in class io.dropwizard.Application<ApplicationConfiguration>public void initialize(io.dropwizard.setup.Bootstrap<ApplicationConfiguration> bootstrap)
initialize in class io.dropwizard.Application<ApplicationConfiguration>protected void bootstrapLogging()
bootstrapLogging in class io.dropwizard.Application<ApplicationConfiguration>Copyright © 2021. All rights reserved.