org.springframework.aop.config

## 类 MethodLocatingFactoryBean

- java.lang.Object
- - org.springframework.aop.config.MethodLocatingFactoryBean

- 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<Method>

      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.
  从以下版本开始:
    2.0
  作者:
    Rob Harrop

- - ### 构造器概要

    构造器
    构造器和说明
    `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.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### MethodLocatingFactoryBean

          public MethodLocatingFactoryBean()

  - ### 方法详细资料

    - #### setTargetBeanName

          public void setTargetBeanName(String targetBeanName)

      Set the name of the bean to locate the `Method` on.

      This property is required.

      参数:
        `targetBeanName` - the name of the bean to locate the `Method` on

    - #### setMethodName

          public void setMethodName(String methodName)

      Set the name of the `Method` to locate.

      This property is required.

      参数:
        `methodName` - the name of the `Method` to locate

    - #### setBeanFactory

          public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)

      指定者:
        `setBeanFactory` 在接口中 `org.springframework.beans.factory.BeanFactoryAware`

    - #### getObject

          @Nullable
          public Method getObject()
                                      throws Exception

      指定者:
        `getObject` 在接口中 `org.springframework.beans.factory.FactoryBean<Method>`
      抛出:
        `Exception`

    - #### getObjectType

          public Class<Method> getObjectType()

      指定者:
        `getObjectType` 在接口中 `org.springframework.beans.factory.FactoryBean<Method>`

    - #### isSingleton

          public boolean isSingleton()

      指定者:
        `isSingleton` 在接口中 `org.springframework.beans.factory.FactoryBean<Method>`