Hi,

I just went through this thread and corresponding issue WELD-1416 and still not clear for me

Josef Hartinger referenced a statement from the current version of spec:
"With the exception of AroundConstruct lifecycle callback interceptors, an interceptor for lifecycle callbacks may only declare interceptor binding types that are defined as Target(TYPE)."

but does it mean that adding @AroundConstruct callback interceptor into class PerformanceInterceptor prevents from DefinitionException ?
or in such case there should be only @AroundConstruct defined and none of both @PostConstruct and @PreDestroy ?

enhanced sample of Jens Schumann:

@Interceptor
@Measure
public class PerformanceInterceptor implements Serializable {

@AroundInvoke
public Object measure(InvocationContext ctx) throws Exception { ... }

@PostConstruct
public void measureCreate(InvocationContext ctx) { ... }

@AroundConstruct
Object onAroundConstruct(InvocationContext ctx) throws Exception {...}
}

@InterceptorBinding
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Measure {
}


thanx for clarification,
Radim