Uses of Class
io.dropwizard.core.setup.Environment
-
Packages that use Environment Package Description io.dropwizard.core io.dropwizard.core.cli io.dropwizard.core.server io.dropwizard.core.setup io.dropwizard.core.sslreload -
-
Uses of Environment in io.dropwizard.core
Methods in io.dropwizard.core with parameters of type Environment Modifier and Type Method Description abstract void
Application. run(T configuration, Environment environment)
When the application runs, this is called after theConfiguredBundle
s are run.default void
ConfiguredBundle. run(T configuration, Environment environment)
Initializes the environment. -
Uses of Environment in io.dropwizard.core.cli
Methods in io.dropwizard.core.cli that return Environment Modifier and Type Method Description @Nullable Environment
EnvironmentCommand. getEnvironment()
Returns the constructed environment ornull
if it hasn't been constructed yet.Methods in io.dropwizard.core.cli with parameters of type Environment Modifier and Type Method Description protected abstract void
EnvironmentCommand. run(Environment environment, net.sourceforge.argparse4j.inf.Namespace namespace, T configuration)
Runs the command with the givenEnvironment
andConfiguration
.protected void
ServerCommand. run(Environment environment, net.sourceforge.argparse4j.inf.Namespace namespace, T configuration)
-
Uses of Environment in io.dropwizard.core.server
Methods in io.dropwizard.core.server with parameters of type Environment Modifier and Type Method Description org.eclipse.jetty.server.Server
DefaultServerFactory. build(Environment environment)
org.eclipse.jetty.server.Server
ServerFactory. build(Environment environment)
Build a server for the given Dropwizard application.org.eclipse.jetty.server.Server
SimpleServerFactory. build(Environment environment)
void
DefaultServerFactory. configure(Environment environment)
void
ServerFactory. configure(Environment environment)
Configures the given environment with settings defined in the factory.void
SimpleServerFactory. configure(Environment environment)
-
Uses of Environment in io.dropwizard.core.setup
Methods in io.dropwizard.core.setup with parameters of type Environment Modifier and Type Method Description void
Bootstrap. run(T configuration, Environment environment)
Runs the bootstrap's bundles with the given configuration and environment. -
Uses of Environment in io.dropwizard.core.sslreload
Methods in io.dropwizard.core.sslreload with parameters of type Environment Modifier and Type Method Description void
SslReloadBundle. run(Configuration configuration, Environment environment)
-