public class StreamsApplication
extends io.dropwizard.Application<StreamsDropwizardConfiguration>
| Modifier and Type | Field and Description |
|---|---|
protected StreamBuilder |
builder |
protected static com.fasterxml.jackson.databind.ObjectMapper |
mapper |
| Constructor and Description |
|---|
StreamsApplication() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(io.dropwizard.setup.Bootstrap<StreamsDropwizardConfiguration> bootstrap) |
static void |
main(String[] args)
Run from console:
java -jar uber.jar server ./configuration.yml
|
void |
run(StreamsDropwizardConfiguration streamsDropwizardConfiguration,
io.dropwizard.setup.Environment environment) |
StreamBuilder |
setup(StreamsConfiguration streamsConfiguration,
Set<StreamsProvider> resourceProviders)
setup StreamBuilder.
|
protected static com.fasterxml.jackson.databind.ObjectMapper mapper
protected StreamBuilder builder
public void initialize(io.dropwizard.setup.Bootstrap<StreamsDropwizardConfiguration> bootstrap)
initialize in class io.dropwizard.Application<StreamsDropwizardConfiguration>public void run(StreamsDropwizardConfiguration streamsDropwizardConfiguration,
io.dropwizard.setup.Environment environment)
throws Exception
run in class io.dropwizard.Application<StreamsDropwizardConfiguration>Exceptionpublic StreamBuilder setup(StreamsConfiguration streamsConfiguration, Set<StreamsProvider> resourceProviders)
streamsConfiguration - StreamsConfigurationresourceProviders - Set of StreamsProviderCopyright © 2012–2016 The Apache Software Foundation. All rights reserved.