public static class RequestScope.RequestScopeConfigurator extends Object implements BootstrapConfigurator
RequestScope instance int InjectionManager and
BootstrapBag.| Constructor and Description |
|---|
RequestScopeConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(InjectionManager injectionManagerFactory,
BootstrapBag bootstrapBag)
Pre-initialization method should only register services into
InjectionManager and populate BootstrapBag. |
void |
postInit(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. |
public void init(InjectionManager injectionManagerFactory, BootstrapBag bootstrapBag)
BootstrapConfiguratorInjectionManager and populate BootstrapBag.init in interface BootstrapConfiguratorinjectionManagerFactory - not completed injection manager.bootstrapBag - bootstrap bag with services used in following processing.public void postInit(InjectionManager injectionManager, BootstrapBag bootstrapBag)
BootstrapConfiguratorInjectionManager and is not able to register the new one because
injection manager is already completed.postInit in interface BootstrapConfiguratorinjectionManager - already completed injection manager.bootstrapBag - bootstrap bag with services used in following processing.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.