Class MessageBodyFactory.MessageBodyWorkersConfigurator
java.lang.Object
org.glassfish.jersey.message.internal.MessageBodyFactory.MessageBodyWorkersConfigurator
- All Implemented Interfaces:
BootstrapConfigurator
- Enclosing class:
- MessageBodyFactory
public static class MessageBodyFactory.MessageBodyWorkersConfigurator
extends Object
implements BootstrapConfigurator
Configurator which initializes and register
MessageBodyWorkers
instance into InjectionManager
and
BootstrapBag
.- Author:
- Petr Bouda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(InjectionManager injectionManager, BootstrapBag bootstrapBag) Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.void
postInit
(InjectionManager injectionManager, BootstrapBag bootstrapBag) Post-initialization method can get services fromInjectionManager
and is not able to register the new one because injection manager is already completed.
-
Constructor Details
-
MessageBodyWorkersConfigurator
public MessageBodyWorkersConfigurator()
-
-
Method Details
-
init
Description copied from interface:BootstrapConfigurator
Pre-initialization method should only register services intoInjectionManager
and populateBootstrapBag
.- Specified by:
init
in interfaceBootstrapConfigurator
- Parameters:
injectionManager
- not completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.
-
postInit
Description copied from interface:BootstrapConfigurator
Post-initialization method can get services fromInjectionManager
and is not able to register the new one because injection manager is already completed.- Specified by:
postInit
in interfaceBootstrapConfigurator
- Parameters:
injectionManager
- already completed injection manager.bootstrapBag
- bootstrap bag with services used in following processing.
-