Java Reference
In-Depth Information
public class AroundConstructInterceptor {
private Logger logger =
public Object initialize(InvocationContext
ctx) throws Exception{"initialize - constructor
:"+ctx.getConstructor()+", "
+ "parameters :
+ " execution time : "+new Date());
return ctx.proceed();
public class AroundConstructBean {
private Logger logger =
public AroundConstructBean(){"AroundConstructManagedBean -
Execution time :"+new Date());
Associating an interceptor with a class using interceptor
Associating Interceptors using Interceptor Bindings , Chapter 3 of the Interceptors
1.2 Specification Document , was extracted from Chapter 9 of the CDI Specification
Document . It discusses the possibility of using annotations to associate interceptors
with another component that is not an interceptor. To make this possible you must:
Search WWH ::

Custom Search