Class DropwizardBundleTracker<T extends io.dropwizard.core.Configuration>
java.lang.Object
ru.vyarus.dropwizard.guice.module.context.bootstrap.DropwizardBundleTracker<T>
- Type Parameters:
T- configuration type
- All Implemented Interfaces:
io.dropwizard.core.ConfiguredBundle<T>
public class DropwizardBundleTracker<T extends io.dropwizard.core.Configuration>
extends Object
implements io.dropwizard.core.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
ConstructorsConstructorDescriptionDropwizardBundleTracker(io.dropwizard.core.ConfiguredBundle<? super T> bundle, ConfigurationContext context) Create tracker. -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(io.dropwizard.core.setup.Bootstrap bootstrap) void
-
Constructor Details
-
DropwizardBundleTracker
public DropwizardBundleTracker(io.dropwizard.core.ConfiguredBundle<? super T> bundle, ConfigurationContext context) Create tracker.- Parameters:
bundle- dropwizard bundlecontext- configuration context
-
-
Method Details
-
initialize
public void initialize(io.dropwizard.core.setup.Bootstrap bootstrap) - Specified by:
initializein interfaceio.dropwizard.core.ConfiguredBundle<T extends io.dropwizard.core.Configuration>
-
run
-