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(org.glassfish.jersey.internal.inject.InjectionManager injectionManagerFactory,
BootstrapBag bootstrapBag)
Pre-initialization method should only register services into
InjectionManager and populate BootstrapBag . |
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. |
public void init(org.glassfish.jersey.internal.inject.InjectionManager injectionManagerFactory, BootstrapBag bootstrapBag)
BootstrapConfigurator
InjectionManager
and populate BootstrapBag
.init
in interface BootstrapConfigurator
injectionManagerFactory
- not completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.public void postInit(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)
BootstrapConfigurator
InjectionManager
and is not able to register the new one because
injection manager is already completed.postInit
in interface BootstrapConfigurator
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.