postProcessBeforeDestruction abstract method

void postProcessBeforeDestruction(
  1. Object bean,
  2. String beanName
)

Called with the exposed bean (the one others received) before its @PreDestroy, DisposableBean.destroy and destroy-method callbacks run. Errors are logged and collected; they do not stop the shutdown.

Implementation

void postProcessBeforeDestruction(Object bean, String beanName);