Class AbstractTrellisApplication<T extends TrellisConfiguration>

  • Direct Known Subclasses:
    TrellisApplication

    public abstract class AbstractTrellisApplication<T extends TrellisConfiguration>
    extends io.dropwizard.Application<T>
    A base class for Dropwizard-based Trellis applications.
    • Field Detail

      • CONFIG_DROPWIZARD_INITIALIZE_ROOT

        public static final String CONFIG_DROPWIZARD_INITIALIZE_ROOT
        The configuration key controlling whether an application should initialize its own root resource.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractTrellisApplication

        public AbstractTrellisApplication()
    • Method Detail

      • initialize

        public void initialize​(io.dropwizard.setup.Bootstrap<T> bootstrap)
        Overrides:
        initialize in class io.dropwizard.Application<T extends TrellisConfiguration>
      • run

        public void run​(T config,
                        io.dropwizard.setup.Environment environment)
                 throws Exception
        Specified by:
        run in class io.dropwizard.Application<T extends TrellisConfiguration>
        Throws:
        Exception