Skip to content

Commit

Permalink
Clarify requirements for AOP around advice regarding MethodInterceptor
Browse files Browse the repository at this point in the history
Closes gh-33901
  • Loading branch information
sbrannen committed Nov 17, 2024
1 parent 173084f commit 241b8b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework-docs/modules/ROOT/pages/core/aop-api/advice.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ arbitrary advice types. This section describes the basic concepts and standard a

The most fundamental advice type in Spring is _interception around advice_.

Spring is compliant with the AOP `Alliance` interface for around advice that uses method
interception. Classes that implement `MethodInterceptor` and that implement around advice should also implement the
following interface:
Spring is compliant with the AOP Alliance interface for around advice that uses method
interception. Classes that implement around advice should therefore implement the
following `MethodInterceptor` interface from the `org.aopalliance.intercept` package:

[source,java,indent=0,subs="verbatim,quotes"]
----
Expand Down

0 comments on commit 241b8b4

Please sign in to comment.