Class BundlesInitializedEvent


  • public class BundlesInitializedEvent
    extends ConfigurationPhaseEvent
    Called after bundles initialization. Note that bundles could register other bundles and so resulted list of installed bundles could be bigger (than in resolution event). Provides a list of all used and list of disabled bundles. Not called if no bundles were used at all (nothing was processed - no event).

    Note that bundles will be processed further under dropwizard run phase so at this point bundles state could be modified to affect execution.

    Since:
    13.06.2019
    • Method Detail

      • getBundles

        public java.util.List<GuiceyBundle> getBundles()
        Returns:
        list of all used bundles (actually processed bundles, including transitives) or empty list if bundles were not used at all
      • getDisabled

        public java.util.List<GuiceyBundle> getDisabled()
        Returns:
        list of all disabled bundles or empty list
      • getIgnored

        public java.util.List<GuiceyBundle> getIgnored()
        Returns:
        list of ignored bundles (duplicates) or empty list