Implementations of this service will be called whenever
an Immediate scoped service fails
- Author:
- jwells
-
Method Summary
Modifier and TypeMethodDescriptionvoidpostConstructFailed(ActiveDescriptor<?> immediateService, Throwable exception) This is called whenever an immediate service fails in its constructor or postConstruct method.voidpreDestroyFailed(ActiveDescriptor<?> immediateService, Throwable exception) This is called whenever an immediate service fails in its preDestroy method.
-
Method Details
-
postConstructFailed
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 failedexception- The exception that was thrown
-
preDestroyFailed
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 failedexception- The exception that was thrown
-