spring-framework / org.springframework.beans.factory.support / LookupOverride / <init>

<init>

LookupOverride(methodName: String, @Nullable beanName: String)

Construct a new LookupOverride.

Parameters

methodName - the name of the method to override

beanName - the name of the bean in the current BeanFactory that the overridden method should return (may be null)

LookupOverride(method: Method, @Nullable beanName: String)

Construct a new LookupOverride.

Parameters

method - the method to override

beanName - the name of the bean in the current BeanFactory that the overridden method should return (may be null)