| java.lang.Object org.springframework.beans.factory.support.MethodOverride org.springframework.beans.factory.support.ReplaceOverride
ReplaceOverride | public class ReplaceOverride extends MethodOverride (Code) | | 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.
author: Rod Johnson author: Juergen Hoeller since: 1.1 |
ReplaceOverride | public ReplaceOverride(String methodName, String methodReplacerBeanName)(Code) | | Construct a new ReplaceOverride.
Parameters: methodName - the name of the method to override Parameters: methodReplacerBeanName - the bean name of the MethodReplacer |
addTypeIdentifier | public void addTypeIdentifier(String identifier)(Code) | | Add a fragment of a class string, like "Exception"
or "java.lang.Exc", to identify a parameter type.
Parameters: identifier - a substring of the fully qualified class name |
getMethodReplacerBeanName | public String getMethodReplacerBeanName()(Code) | | Return the name of the bean implementing MethodReplacer.
|
hashCode | public int hashCode()(Code) | | |
|
|