public interface BootstrapConfigurator
init(InjectionManager, BootstrapBag) contains InjectionManager
 into which only registering services make sense because injection manager has not been completed yet and
 postInit(InjectionManager, BootstrapBag) in which InjectionManager has been already completed and is able to
 create and provide services.
 
 The configurators should register instances into InjectionManager only if the instance must be really injectable if
 the instance can be used internally without the injection, then extend BootstrapBag and propagate the instance to
 correct services using constructors or methods in a phase of Jersey initialization.
| Modifier and Type | Method and Description | 
|---|---|
void | 
init(org.glassfish.jersey.internal.inject.InjectionManager injectionManager,
    BootstrapBag bootstrapBag)
Pre-initialization method should only register services into  
InjectionManager and populate BootstrapBag. | 
default void | 
postInit(org.glassfish.jersey.internal.inject.InjectionManager injectionManager,
        BootstrapBag bootstrapBag)
Post-initialization method can get services from  
InjectionManager and is not able to register the new one because
 injection manager is already completed. | 
void init(org.glassfish.jersey.internal.inject.InjectionManager injectionManager,
          BootstrapBag bootstrapBag)
InjectionManager and populate BootstrapBag.injectionManager - not completed injection manager.bootstrapBag - bootstrap bag with services used in following processing.default void postInit(org.glassfish.jersey.internal.inject.InjectionManager injectionManager,
                      BootstrapBag bootstrapBag)
InjectionManager and is not able to register the new one because
 injection manager is already completed.injectionManager - already completed injection manager.bootstrapBag - bootstrap bag with services used in following processing.Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.