public class DropwizardServer
extends io.dropwizard.Application<io.dropwizard.Configuration>
| Constructor and Description |
|---|
DropwizardServer(Persistence persistence,
AuthenticationService authenticationService,
AuthorizationService authorizationService,
Metrics metrics,
DataStoreFactory dataStoreFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(io.dropwizard.setup.Bootstrap<io.dropwizard.Configuration> bootstrap) |
void |
run(io.dropwizard.Configuration config,
io.dropwizard.setup.Environment environment) |
void |
run(String... arguments)
The only reason we override this is to remove the call to
bootstrap.registerMetrics(). |
void |
stop() |
public DropwizardServer(Persistence persistence, AuthenticationService authenticationService, AuthorizationService authorizationService, Metrics metrics, DataStoreFactory dataStoreFactory)
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<io.dropwizard.Configuration>public void run(io.dropwizard.Configuration config,
io.dropwizard.setup.Environment environment)
run in class io.dropwizard.Application<io.dropwizard.Configuration>public void initialize(io.dropwizard.setup.Bootstrap<io.dropwizard.Configuration> bootstrap)
initialize in class io.dropwizard.Application<io.dropwizard.Configuration>Copyright © 2021. All rights reserved.