Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Oct 4, 2015 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: backported An issue that has been backported to maintenance branches type: task A general task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

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

@spring-projects-issues spring-projects-issues added status: backported An issue that has been backported to maintenance branches in: core Issues in core modules (aop, beans, core, context, expression) type: task A general task labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 4.3 GA milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: backported An issue that has been backported to maintenance branches type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants