public static void addComponentInterceptors(Set<Interceptor> set, List<InterceptorData> stack)
{
Iterator<Interceptor> it = set.iterator();
while (it.hasNext())
{
WebBeansInterceptor interceptor = (WebBeansInterceptor) it.next();
// interceptor binding
WebBeansUtil.configureInterceptorMethods(interceptor, interceptor.getClazz(), AroundInvoke.class, true, false, stack, null, true);
WebBeansUtil.configureInterceptorMethods(interceptor, interceptor.getClazz(), PostConstruct.class, true, false, stack, null, true);
WebBeansUtil.configureInterceptorMethods(interceptor, interceptor.getClazz(), PreDestroy.class, true, false, stack, null, true);
}
}