Interface ImmediateErrorHandler


@Contract public interface ImmediateErrorHandler
Implementations of this service will be called whenever an Immediate scoped service fails
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    postConstructFailed(ActiveDescriptor<?> immediateService, Throwable exception)
    This is called whenever an immediate service fails in its constructor or postConstruct method.
    void
    preDestroyFailed(ActiveDescriptor<?> immediateService, Throwable exception)
    This is called whenever an immediate service fails in its preDestroy method.
  • Method Details

    • postConstructFailed

      void postConstructFailed(ActiveDescriptor<?> immediateService, Throwable exception)
      This is called whenever an immediate service fails in its constructor or postConstruct method. Any exceptions from the implementation of this method are ignored
      Parameters:
      immediateService - The descriptor of the immediate scope service that failed
      exception - The exception that was thrown
    • preDestroyFailed

      void preDestroyFailed(ActiveDescriptor<?> immediateService, Throwable exception)
      This is called whenever an immediate service fails in its preDestroy method. Any exceptions from the implementation of this method are ignored
      Parameters:
      immediateService - The descriptor of the immediate scope service that failed
      exception - The exception that was thrown