Class ResourceMethodInvokerConfigurator
- java.lang.Object
-
- org.glassfish.jersey.server.model.internal.ResourceMethodInvokerConfigurator
-
- All Implemented Interfaces:
BootstrapConfigurator
public class ResourceMethodInvokerConfigurator extends Object implements BootstrapConfigurator
Configurator which initializes and registerResourceMethodDispatcherinstance intoBootstrapBag.- Author:
- Petr Bouda
-
-
Constructor Summary
Constructors Constructor Description ResourceMethodInvokerConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)Pre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.voidpostInit(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)Post-initialization method can get services fromInjectionManagerand is not able to register the new one because injection manager is already completed.
-
-
-
Method Detail
-
init
public void init(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)Description copied from interface:BootstrapConfiguratorPre-initialization method should only register services intoInjectionManagerand populateBootstrapBag.- Specified by:
initin interfaceBootstrapConfigurator- Parameters:
injectionManager- not completed injection manager.bootstrapBag- bootstrap bag with services used in following processing.
-
postInit
public void postInit(org.glassfish.jersey.internal.inject.InjectionManager injectionManager, BootstrapBag bootstrapBag)Description copied from interface:BootstrapConfiguratorPost-initialization method can get services fromInjectionManagerand is not able to register the new one because injection manager is already completed.- Specified by:
postInitin interfaceBootstrapConfigurator- Parameters:
injectionManager- already completed injection manager.bootstrapBag- bootstrap bag with services used in following processing.
-
-