程序包 infra.aop.target

类 SimpleBeanTargetSource

所有已实现的接口:
TargetClassAware, TargetSource, infra.beans.factory.Aware, infra.beans.factory.BeanFactoryAware, Serializable

public class SimpleBeanTargetSource extends AbstractBeanFactoryTargetSource
Simple TargetSource implementation, freshly obtaining the specified target bean from its containing BeanFactory.

Can obtain any kind of target bean: singleton, scoped, or prototype. Typically, used for scoped beans.

从以下版本开始:
3.0
作者:
Juergen Hoeller, TODAY 2021/2/1 21:27
另请参阅:
  • 字段详细资料

    • serialVersionUID

      private static final long serialVersionUID
      另请参阅:
  • 构造器详细资料

    • SimpleBeanTargetSource

      public SimpleBeanTargetSource()
  • 方法详细资料

    • getTarget

      public Object getTarget()
      从接口复制的说明: TargetSource
      Return a target instance. Invoked immediately before the AOP framework calls the "target" of an AOP method invocation.
      返回:
      the target object which contains the join-point, or null if there is no actual target instance