Class DropwizardBundleTracker<T extends io.dropwizard.Configuration>
- java.lang.Object
-
- ru.vyarus.dropwizard.guice.module.context.bootstrap.DropwizardBundleTracker<T>
-
- Type Parameters:
T
- configuration type
- All Implemented Interfaces:
io.dropwizard.ConfiguredBundle<T>
public class DropwizardBundleTracker<T extends io.dropwizard.Configuration> extends java.lang.Object implements io.dropwizard.ConfiguredBundle<T>
Bundle decorator. Used to track transitive dropwizard bundles registration.Bundles tracking is controlled with
GuiceyOptions.TrackDropwizardBundles
option.- Since:
- 07.05.2019
-
-
Constructor Summary
Constructors Constructor Description DropwizardBundleTracker(io.dropwizard.ConfiguredBundle<? super T> bundle, ConfigurationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(io.dropwizard.setup.Bootstrap bootstrap)
void
run(T configuration, io.dropwizard.setup.Environment environment)
-
-
-
Constructor Detail
-
DropwizardBundleTracker
public DropwizardBundleTracker(io.dropwizard.ConfiguredBundle<? super T> bundle, ConfigurationContext context)
-
-
Method Detail
-
initialize
public void initialize(io.dropwizard.setup.Bootstrap bootstrap)
- Specified by:
initialize
in interfaceio.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>
-
-