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.
Collapse XSD Schema Diagram:
XSD Diagram of destroy-method in schema spring-beans-3_1_xsd (Membrane Service Proxy)
Collapse XSD Schema Code:
<xsd:attribute name="destroy-method" type="xsd:string">
    <xsd:annotation>
        <xsd:documentation><![CDATA[
	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.
				]]></xsd:documentation>
    </xsd:annotation>
</xsd:attribute>