Class DropwizardBundleTracker<T extends io.dropwizard.Configuration>

  • 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
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface io.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>
      • run

        public void run​(T configuration,
                        io.dropwizard.setup.Environment environment)
                 throws java.lang.Exception
        Specified by:
        run in interface io.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>
        Throws:
        java.lang.Exception