类 SingletonTargetSource

java.lang.Object
cn.taketoday.aop.target.SingletonTargetSource
所有已实现的接口:
TargetClassAware, TargetSource, Serializable

public class SingletonTargetSource extends Object implements TargetSource, Serializable
Implementation of the TargetSource interface that holds a given object. This is the default implementation of the TargetSource interface, as used by the AOP framework. There is usually no need to create objects of this class in application code.

This class is serializable. However, the actual serializability of a SingletonTargetSource will depend on whether the target is serializable.

作者:
Rod Johnson, Juergen Hoeller, TODAY 2021/2/1 20:18
另请参阅:
  • 构造器详细资料

    • SingletonTargetSource

      public SingletonTargetSource(Object target)
      Create a new SingletonTargetSource for the given target.
      参数:
      target - the target object
  • 方法详细资料