Skip to content
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

Add exposeProxy to @EnableAspectJAutoProxy [SPR-10454] #15087

Closed
spring-issuemaster opened this issue Apr 9, 2013 · 3 comments
Closed

Add exposeProxy to @EnableAspectJAutoProxy [SPR-10454] #15087

spring-issuemaster opened this issue Apr 9, 2013 · 3 comments
Assignees
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Apr 9, 2013

Sinuhé opened SPR-10454 and commented

@EnableAspectJAutoProxy is the Javaconfig equivalence of aop:aspectj-autoproxy tag. It has proxyTargetClass property, but it lacks a substitution for expose-proxy attribute.

Looking at AspectJAutoProxyRegistrar, it seems very easy to behave like AopNamespaceUtils.useClassProxyingIfNecessary(). In fact, I tried to implement it and it works.

My doubt now is why (if it is so easy as it seems) is not implemented. I'm thinking of contributing with this change if the community agrees.


Affects: 3.2.2

Issue Links:

  • #18946 Multiple load-time-weaver elements cause repeated addition of AspectJ transformer

Referenced from: commits 8cb9d5e

6 votes, 7 watchers

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Feb 25, 2016

kissrain commented

So.......什么时候能够提供这个功能呢

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Jun 11, 2016

Error commented

Hello.. I want to know when can fixed this issue.

En. It has been 3 year.

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Jun 20, 2016

Juergen Hoeller commented

Finally added for 4.3.1! Thanks for raising this again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.