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: LookupOverride [javadoc | source]
java.lang.Object
   org.springframework.beans.factory.support.MethodOverride
      org.springframework.beans.factory.support.LookupOverride

All Implemented Interfaces:
    BeanMetadataElement

Represents an override of a method that looks up an object in the same IoC context.

Methods eligible for lookup override must not have arguments.

Constructor:
 public LookupOverride(String methodName,
    String beanName) 
    Construct a new LookupOverride.
    Parameters:
    methodName - the name of the method to override. This method must have no arguments.
    beanName - name of the bean in the current BeanFactory that the overriden method should return
Method from org.springframework.beans.factory.support.LookupOverride Summary:
equals,   getBeanName,   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.LookupOverride Detail:
 public boolean equals(Object other) 
 public String getBeanName() 
    Return the name of the bean that should be returned by this method.
 public int hashCode() 
 public boolean matches(Method method) 
    Match method of the given name, with no parameters.
 public String toString()