java.lang.Object | ||
↳ | org.springframework.beans.factory.support.MethodOverride | |
↳ | org.springframework.beans.factory.support.ReplaceOverride |
Extension of MethodOverride that represents an arbitrary override of a method by the IoC container.
Any non-final method can be overridden, irrespective of its parameters and return types.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new ReplaceOverride.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a fragment of a class string, like "Exception"
or "java.lang.Exc", to identify a parameter type.
| |||||||||||
Return the name of the bean implementing MethodReplacer.
| |||||||||||
Subclasses must override this to indicate whether they match
the given method.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.beans.factory.support.MethodOverride
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.BeanMetadataElement
|
Construct a new ReplaceOverride.
methodName | the name of the method to override |
---|---|
methodReplacerBeanName | the bean name of the MethodReplacer |
Add a fragment of a class string, like "Exception" or "java.lang.Exc", to identify a parameter type.
identifier | a substring of the fully qualified class name |
---|
Return the name of the bean implementing MethodReplacer.
Subclasses must override this to indicate whether they match the given method. This allows for argument list checking as well as method name checking.
method | the method to check |
---|