public final class BootstrapProxyFactory
extends java.lang.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.
Bootstrap proxy object creation adds ~200ms startup overhead, which is clearly visible on
stats diagnostic report. Class directly extending Bootstrap would be much more effective, but it would
require overriding of all methods and would be very vulnerable for future bootstrap object changes.
| Modifier and Type | Method and Description |
|---|---|
static io.dropwizard.setup.Bootstrap |
create(io.dropwizard.setup.Bootstrap bootstrap,
ConfigurationContext context) |
public static io.dropwizard.setup.Bootstrap create(io.dropwizard.setup.Bootstrap bootstrap,
ConfigurationContext context)
bootstrap - dropwizard bootstrap objectcontext - guicey configuration context