Package io.dropwizard
Interface Bundle
-
- All Superinterfaces:
ConfiguredBundle<Configuration>
@Deprecated public interface Bundle extends ConfiguredBundle<Configuration>
Deprecated.UseConfiguredBundleA reusable bundle of functionality, used to define blocks of application behavior.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidrun(Configuration configuration, Environment environment)Deprecated.Initializes the environment.default voidrun(Environment environment)Deprecated.UseConfiguredBundle#run(Configuration, Environment)-
Methods inherited from interface io.dropwizard.ConfiguredBundle
initialize
-
-
-
-
Method Detail
-
run
default void run(Configuration configuration, Environment environment) throws Exception
Deprecated.Description copied from interface:ConfiguredBundleInitializes the environment.- Specified by:
runin interfaceConfiguredBundle<Configuration>- Parameters:
configuration- the configuration objectenvironment- the application'sEnvironment- Throws:
Exception- if something goes wrong
-
run
@Deprecated default void run(Environment environment)
Deprecated.UseConfiguredBundle#run(Configuration, Environment)Initializes the application environment.- Parameters:
environment- the application environment
-
-