Skip to content

Doc. Unable to use bean() PCD to define a Pointcut in Aspect created by using annotation @Aspect [SPR-13535] #18111

Closed
@spring-projects-issues

Description

@spring-projects-issues

Puneet Bansal opened SPR-13535 and commented

As per Spring AOP documentation - Spring provides a bean() PCD that can be used to define a PointCut. But when I try to configure a pointcut by using bean() PCD in Aspect created by using annotation @Aspect then it doesn't work.

In some of the forums, its mentioned that bean() PCD is available only for XML configuration. But it is not mentioned in documentation.

Please correct me if I am missing something or it's documentation needs to be updated.


Affects: 4.2.1

Reference URL: http://docs.spring.io/spring/docs/current/spring-framework-reference/html/aop.html

Attachments:

Referenced from: commits d628420, ad29db8

Backported to: 4.2.7

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions