Class EnableLookupExceptionsModule

java.lang.Object
org.glassfish.hk2.utilities.binding.AbstractBinder
org.glassfish.hk2.utilities.EnableLookupExceptionsModule
All Implemented Interfaces:
DynamicConfiguration, Binder

public class EnableLookupExceptionsModule extends AbstractBinder
This module can be used to enable exceptions to be thrown from getService API when a descriptor throws an exception during reification or other errors. This module is NOT idempotent
  • Constructor Details

    • EnableLookupExceptionsModule

      public EnableLookupExceptionsModule()
  • Method Details

    • configure

      protected void configure()
      Description copied from class: AbstractBinder
      Implement to provide binding definitions using the exposed binding methods.
      Specified by:
      configure in class AbstractBinder