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
Extension to support javax.interceptor #61
Comments
From dhanji on March 14, 2007 15:22:20 I was thinking the same thing the other day--it's a very simple aop api. but wouldnt Or is it now part of SE? |
From hani@formicary.net on March 14, 2007 15:25:21 It would create a compile time dependency on that small jar, but it'd be pretty easy to code it such that if the jar |
From crazyboblee on March 14, 2007 15:25:50 I wonder if we can implement this on top of the current stuff... |
From dhanji on March 14, 2007 15:47:28 yea you could isolate it with a switch a la Stage--and simply not run that code at Though I suppose it would open the door to requests for AspectJ et al. not sure it's |
From hani@formicary.net on March 14, 2007 15:49:37 Plus it means you don't have to suck in another jar, and can run using a standard EE 5 container. |
From limpbizkit on May 30, 2008 01:09:00 This could probably be implemented as an extension using our existing aopalliance API under the hood. An public class JavaxInterceptorModule() extends AbstractModule { // injectMembers() on the interceptor. interceptor should define an By implementing this as an extension on-top of the existing interceptor support, we don't need to clutter the If anyone is interested in implementing this extension, I'm interested in consulting with the implementation. Summary: Extension to support javax.interceptor |
From limpbizkit on May 30, 2008 09:45:02 Fantastic. Please keep us posted on your success. |
From limpbizkit on June 24, 2008 21:31:47 Great news! sberan has implemented much of this, and the code is great. I've attached his implementation, This code supports everything except for But the code is there, and it's ready for use. Nice work Sam! Binary attachments: javaxinterceptor.zip |
From Dieter.Moroff on November 19, 2010 06:03:28 Are there plans to integrate to code into guice 3.x? I have a modified implementation which does not required google collection. |
From sberlin on November 19, 2010 06:31:26 If it works fully as an extension, it's unlikely to go into core Guice. If someone would like to host & maintain it somewhere, we can link to it from the Wiki though. |
From sberlin on February 19, 2011 12:28:42 Code is attached to the issue to let it be done as an extension. No plans to pull it into Guice core. Status: Fixed |
From bileblog on March 14, 2007 09:17:59
Since you support aopalliance for interceptors, it might be worth adding support for
javax.interceptor for a more JSR-friendly aop API. It's very simple and only allows for AroundInvoke,
so shouldn't be that hard to check for and implement, I hope.
Original issue: http://code.google.com/p/google-guice/issues/detail?id=61
The text was updated successfully, but these errors were encountered: