程序包 infra.aop.config
类 MethodLocatingFactoryBean
java.lang.Object
infra.aop.config.MethodLocatingFactoryBean
- 所有已实现的接口:
infra.beans.factory.Aware,infra.beans.factory.BeanFactoryAware,infra.beans.factory.FactoryBean<Method>
public class MethodLocatingFactoryBean
extends Object
implements infra.beans.factory.FactoryBean<Method>, infra.beans.factory.BeanFactoryAware
FactoryBean implementation that locates a Method on a specified bean.- 从以下版本开始:
- 4.0 2022/3/7 21:27
- 作者:
- Rob Harrop, Harry Yang
-
字段概要
字段从接口继承的字段 infra.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanvoidsetBeanFactory(infra.beans.factory.BeanFactory beanFactory) voidsetMethodName(String methodName) Set the name of theMethodto locate.voidsetTargetBeanName(String targetBeanName) Set the name of the bean to locate theMethodon.
-
字段详细资料
-
targetBeanName
-
methodName
-
method
-
-
构造器详细资料
-
MethodLocatingFactoryBean
public MethodLocatingFactoryBean()
-
-
方法详细资料
-
setTargetBeanName
Set the name of the bean to locate theMethodon.This property is required.
- 参数:
targetBeanName- the name of the bean to locate theMethodon
-
setMethodName
Set the name of theMethodto locate.This property is required.
- 参数:
methodName- the name of theMethodto locate
-
setBeanFactory
public void setBeanFactory(infra.beans.factory.BeanFactory beanFactory) - 指定者:
setBeanFactory在接口中infra.beans.factory.BeanFactoryAware
-
getObject
-
getObjectType
- 指定者:
getObjectType在接口中infra.beans.factory.FactoryBean<Method>
-
isSingleton
public boolean isSingleton()- 指定者:
isSingleton在接口中infra.beans.factory.FactoryBean<Method>
-