Package org.glassfish.hk2.utilities
Class EnableLookupExceptionsModule
java.lang.Object
org.glassfish.hk2.utilities.binding.AbstractBinder
org.glassfish.hk2.utilities.EnableLookupExceptionsModule
- All Implemented Interfaces:
DynamicConfiguration
,Binder
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Implement to provide binding definitions using the exposed binding methods.Methods inherited from class org.glassfish.hk2.utilities.binding.AbstractBinder
addActiveDescriptor, addActiveDescriptor, addActiveDescriptor, addActiveFactoryDescriptor, addIdempotentFilter, addUnbindFilter, bind, bind, bind, bind, bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, commit, install, registerTwoPhaseResources
-
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 classAbstractBinder
-