Class ExceptionMapperFactory.ExceptionMappersConfigurator

java.lang.Object
org.glassfish.jersey.internal.ExceptionMapperFactory.ExceptionMappersConfigurator
All Implemented Interfaces:
BootstrapConfigurator
Enclosing class:
ExceptionMapperFactory

public static class ExceptionMapperFactory.ExceptionMappersConfigurator extends Object implements BootstrapConfigurator
Configurator which initializes and register ExceptionMappers instance into InjectionManager and BootstrapBag.
Author:
Petr Bouda
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExceptionMappersConfigurator

      public ExceptionMappersConfigurator()
  • Method Details

    • init

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