Package org.springframework.aop


@NonNullApi @NonNullFields package org.springframework.aop
Core Spring AOP interfaces, built on AOP Alliance AOP interoperability interfaces.

Any AOP Alliance MethodInterceptor is usable in Spring.
Spring AOP also offers:

  • Introduction support
  • A Pointcut abstraction, supporting "static" pointcuts (class and method-based) and "dynamic" pointcuts (also considering method arguments). There are currently no AOP Alliance interfaces for pointcuts.
  • A full range of advice types, including around, before, after returning and throws advice.
  • Extensibility allowing arbitrary custom advice types to be plugged in without modifying the core framework.

Spring AOP can be used programmatically or (preferably) integrated with the Spring IoC container.