Class BootstrapProxyFactory

java.lang.Object
ru.vyarus.dropwizard.guice.module.context.bootstrap.BootstrapProxyFactory

public final class BootstrapProxyFactory extends Object
Bootstrap proxy delegates all calls directly to bootstrap object, except bundle addition. Instead, bundle addition is replaced with guicey bundle registration so disable and deduplication rules could be applied for transitive dropwizard bundles.
Since:
07.05.2019
  • Method Details

    • create

      public static io.dropwizard.core.setup.Bootstrap create(io.dropwizard.core.setup.Bootstrap bootstrap, ConfigurationContext context)
      Parameters:
      bootstrap - dropwizard bootstrap object
      context - guicey configuration context
      Returns:
      dropwizard bootstrap proxy object