@Contract public interface ImmediateErrorHandler
Modifier and Type | Method and 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.
|
void postConstructFailed(ActiveDescriptor<?> immediateService, Throwable exception)
immediateService
- The descriptor of the immediate scope service that failedexception
- The exception that was thrownvoid preDestroyFailed(ActiveDescriptor<?> immediateService, Throwable exception)
immediateService
- The descriptor of the immediate scope service that failedexception
- The exception that was thrownCopyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.