Class RangerServerBundle<T,R extends io.appform.ranger.core.model.ServiceRegistry<T>,U extends io.dropwizard.Configuration>

java.lang.Object
io.appform.ranger.server.bundle.RangerServerBundle<T,R,U>
All Implemented Interfaces:
io.dropwizard.ConfiguredBundle<U>

public abstract class RangerServerBundle<T,R extends io.appform.ranger.core.model.ServiceRegistry<T>,U extends io.dropwizard.Configuration> extends Object implements io.dropwizard.ConfiguredBundle<U>
  • Constructor Details

    • RangerServerBundle

      public RangerServerBundle()
  • Method Details

    • preBundle

      protected void preBundle(U configuration)
    • withInitialRotationStatus

      protected boolean withInitialRotationStatus(U configuration)
    • withLifecycleSignals

      protected List<io.appform.ranger.core.signals.Signal<T>> withLifecycleSignals(U configuration)
    • withHubs

      protected abstract List<RangerHubClient<T,R>> withHubs(U configuration)
    • withHealthChecks

      protected abstract List<com.codahale.metrics.health.HealthCheck> withHealthChecks(U configuration)
    • initialize

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

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