java.lang.Object | ||
↳ | org.springframework.beans.factory.support.MethodOverride | |
↳ | org.springframework.beans.factory.support.LookupOverride |
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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new LookupOverride.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the name of the bean that should be returned by this method.
| |||||||||||
Match method of the given name, with no parameters.
| |||||||||||
[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 LookupOverride.
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 |
Return the name of the bean that should be returned by this method.
Match method of the given name, with no parameters.
method | the method to check |
---|