public static class ContextResolverFactory.ContextResolversConfigurator extends Object implements BootstrapConfigurator
ContextResolvers
instance into InjectionManager
and
BootstrapBag
.Constructor and Description |
---|
ContextResolversConfigurator() |
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 . |
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 injectionManager, BootstrapBag bootstrapBag)
BootstrapConfigurator
InjectionManager
and populate BootstrapBag
.init
in interface BootstrapConfigurator
injectionManager
- 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-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.