| Definition Type: | Attribute |
| Name: | destroy-method |
| Namespace: | http://www.springframework.org/schema/beans |
| Type: | string:http://www.w3.org/2001/XMLSchema |
| Containing Schema: | spring-beans-3.1.xsd |
| Use | (Optional) |
| Documentation: |
The name of the custom destroy method to invoke on bean factory
shutdown. The method must have no arguments, but may throw any
exception.
Note: Only invoked on beans whose lifecycle is under the full
control of the factory - which is always the case for singletons,
but not guaranteed for any other scope.
|
![]() |
|