http://www.springframework.org/schema/beans
element replaced-method

Documentation
	Similar to the lookup method mechanism, the replaced-method element
	is used to control IoC container method overriding: Method Injection.
	This mechanism allows the overriding of a method with arbitrary code.
			
Properties
This component is not nillable.

Model
<replaced-method
  name = xsd:string
  replacer = xsd:string>
arg-type*
</replaced-method>


Nested Element Summary
 arg-type
          

Attribute Summary
 xsd:stringname
          The name of the method whose implementation must be replaced by the IoC container. 
 xsd:stringreplacer
          Bean name of an implementation of the MethodReplacer interface in the current or ancestor factories. 

Attribute Detail

name

The name of the method whose implementation must be replaced by the IoC container. If this method is not overloaded, there is no need to use arg-type subelements. If this method is overloaded, arg-type subelements must be used for all override definitions for the method.

Type:
xsd:string
Use:
optional
Form:
unqualified

replacer

Bean name of an implementation of the MethodReplacer interface in the current or ancestor factories. This may be a singleton or prototype bean. If it is a prototype, a new instance will be used for each method replacement. Singleton usage is the norm.

Type:
xsd:string
Use:
optional
Form:
unqualified

Source
<xsd:element name="replaced-method">
<xsd:complexType>
<xsd:sequence>
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element ref="arg-type"/>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string">
</xsd:attribute>
<xsd:attribute name="replacer" type="xsd:string">
</xsd:attribute>
</xsd:complexType>
</xsd:element>


Submit a bug or a feature.
Created by xsddoc, a sub project of xframe, hosted at http://xframe.sourceforge.net.