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.| 构造器和说明 |
|---|
MethodLocatingFactoryBean() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 org.springframework.beans.factory.BeanFactoryAwarepublic Class<Method> getObjectType()
getObjectType 在接口中 org.springframework.beans.factory.FactoryBean<Method>public boolean isSingleton()
isSingleton 在接口中 org.springframework.beans.factory.FactoryBean<Method>