Doc. Unable to use bean() PCD to define a Pointcut in Aspect created by using annotation @Aspect [SPR-13535] #18111
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
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
The text was updated successfully, but these errors were encountered: