public class MethodLocatingFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<Method>, org.springframework.beans.factory.BeanFactoryAware
FactoryBean implementation that locates a Method on a specified bean.| Constructor and Description |
|---|
MethodLocatingFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
Method |
getObject() |
Class<Method> |
getObjectType() |
boolean |
isSingleton() |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setMethodName(String methodName)
Set the name of the
Method to locate. |
void |
setTargetBeanName(String targetBeanName)
Set the name of the bean to locate the
Method on. |
public void setTargetBeanName(String targetBeanName)
Method on.
This property is required.
targetBeanName - the name of the bean to locate the Method onpublic void setMethodName(String methodName)
Method to locate.
This property is required.
methodName - the name of the Method to locatepublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarepublic Class<Method> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<Method>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<Method>