org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor |
Known Indirect Subclasses |
Subinterface of BeanPostProcessor
that adds a before-destruction callback.
The typical usage will be to invoke custom destruction callbacks on specific bean types, matching corresponding initialization callbacks.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Apply this BeanPostProcessor to the given bean instance before
its destruction.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.beans.factory.config.BeanPostProcessor
|
Apply this BeanPostProcessor to the given bean instance before its destruction. Can invoke custom destruction callbacks.
Like DisposableBean's destroy
and a custom destroy method,
this callback just applies to singleton beans in the factory (including
inner beans).
bean | the bean instance to be destroyed |
---|---|
beanName | the name of the bean |
BeansException | in case of errors |
---|