Class AdminResourceBundle<T>

java.lang.Object
com.github.mtakaki.dropwizard.admin.AdminResourceBundle<T>
Type Parameters:
T - The configuration class
All Implemented Interfaces:
io.dropwizard.core.ConfiguredBundle<T>

public class AdminResourceBundle<T> extends Object implements io.dropwizard.core.ConfiguredBundle<T>
Bundle that gives the ability to register resources under the admin port.
Author:
mtakaki
  • Constructor Details

    • AdminResourceBundle

      public AdminResourceBundle()
      Default base path, having the resources under "/admin".
  • Method Details

    • initialize

      public void initialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap)
      Specified by:
      initialize in interface io.dropwizard.core.ConfiguredBundle<T>
    • run

      public void run(T config, io.dropwizard.core.setup.Environment environment)
      Specified by:
      run in interface io.dropwizard.core.ConfiguredBundle<T>