Showing:

Annotations
Attributes
Model
Properties
Element replaced-method
Namespace http://www.springframework.org/schema/beans
Annotations
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
content complex
Model
Children arg-type
Attributes
QName Type Use Annotation
name xsd:string optional
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.
replacer xsd:string optional

java:org.springframework.beans.factory.support.MethodReplacer

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.
Attribute replaced-method / @name
Namespace No namespace
Annotations
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
Properties
content simple
Attribute replaced-method / @replacer
Namespace No namespace
Annotations

java:org.springframework.beans.factory.support.MethodReplacer

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
Properties
content simple