IMHO it would be great if you didn't have to add an interface to the
Interceptable classes, but instead created a binding class (something
like a Gin module). Then you could add aspects without changing the
target classes.

Of course easier said than done.

> The code looks like:
>
> {{{
> public class MyClass implements Interceptable {
>   @Intercept(LoggerInterceptor.class)
>   public int add(int a, int b) {
>   }
>
> }
> }}}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to