@Retention(value=RUNTIME) public @interface Intercept
Annotate any beanProviderMethod with @Intercept("interceptorBean") to reference another bean that must implement the Interceptor interface.
The Interceptor#intercept() method will be called so you can intercept all method calls in the proxied bean and even alter the returned object. This is where you would add automatic transaction handling etc.
Interceptorpublic abstract String value
Copyright © 2011 Syse Data AS. All Rights Reserved.