Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » factory » support » [javadoc | source]
org.springframework.beans.factory.support
public class: ReplaceOverride [javadoc | source]
java.lang.Object
   org.springframework.beans.factory.support.MethodOverride
      org.springframework.beans.factory.support.ReplaceOverride

All Implemented Interfaces:
    BeanMetadataElement

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.

Constructor:
 public ReplaceOverride(String methodName,
    String methodReplacerBeanName) 
    Construct a new ReplaceOverride.
    Parameters:
    methodName - the name of the method to override
    methodReplacerBeanName - the bean name of the MethodReplacer
Method from org.springframework.beans.factory.support.ReplaceOverride Summary:
addTypeIdentifier,   equals,   getMethodReplacerBeanName,   hashCode,   matches,   toString
Methods from org.springframework.beans.factory.support.MethodOverride:
equals,   getMethodName,   getSource,   hashCode,   isOverloaded,   matches,   setOverloaded,   setSource
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.beans.factory.support.ReplaceOverride Detail:
 public  void addTypeIdentifier(String identifier) 
    Add a fragment of a class string, like "Exception" or "java.lang.Exc", to identify a parameter type.
 public boolean equals(Object other) 
 public String getMethodReplacerBeanName() 
    Return the name of the bean implementing MethodReplacer.
 public int hashCode() 
 public boolean matches(Method method) 
 public String toString()