|
spring-aop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.aop.config.MethodLocatingFactoryBean
public class MethodLocatingFactoryBean
FactoryBean
implementation that locates a Method
on a specified bean.
Constructor Summary | |
---|---|
MethodLocatingFactoryBean()
|
Method Summary | |
---|---|
java.lang.reflect.Method |
getObject()
|
java.lang.Class<java.lang.reflect.Method> |
getObjectType()
|
boolean |
isSingleton()
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
void |
setMethodName(java.lang.String methodName)
Set the name of the Method to locate. |
void |
setTargetBeanName(java.lang.String targetBeanName)
Set the name of the bean to locate the Method on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodLocatingFactoryBean()
Method Detail |
---|
public void setTargetBeanName(java.lang.String targetBeanName)
Method
on.
This property is required.
targetBeanName
- the name of the bean to locate the Method
onpublic void setMethodName(java.lang.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.BeanFactoryAware
public java.lang.reflect.Method getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<java.lang.reflect.Method>
java.lang.Exception
public java.lang.Class<java.lang.reflect.Method> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<java.lang.reflect.Method>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<java.lang.reflect.Method>
|
spring-aop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |