ConfiguredBundle
@Deprecated public interface Bundle extends ConfiguredBundle<Configuration>
Modifier and Type | Method and Description |
---|---|
default void |
run(Configuration configuration,
Environment environment)
Deprecated.
Initializes the environment.
|
default void |
run(Environment environment)
Deprecated.
Use
ConfiguredBundle#run(Configuration, Environment) |
initialize
default void run(Configuration configuration, Environment environment) throws Exception
ConfiguredBundle
run
in interface ConfiguredBundle<Configuration>
configuration
- the configuration objectenvironment
- the application's Environment
Exception
- if something goes wrong@Deprecated default void run(Environment environment)
ConfiguredBundle#run(Configuration, Environment)
environment
- the application environmentCopyright © 2011. All rights reserved.