Skip to content

Improve explanation of AOP advice classes that should implement MethodInterceptor #33901

@bdshadow

Description

@bdshadow

The following page: https://docs.spring.io/spring-framework/reference/core/aop-api/advice.html has a weird sentence:

Classes that implement MethodInterceptor and that implement around advice should also implement the following interface: MethodInterceptor

Shorter, it says: "Classes that implement MethodInterceptor should implement MethodInterceptor". If I'm not missing anything, this sentence is confusing. If I do miss something, I think it must be explained a little more explicitly.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions