for (Method method : classFinder.findAnnotatedMethods(PreDestroy.class)) {
bean.getPreDestroy().add(new LifecycleCallback(method));
}
}
AroundInvoke aroundInvoke = getFirst(bean.getAroundInvoke());
if (aroundInvoke == null) {
for (Method method : classFinder.findAnnotatedMethods(javax.interceptor.AroundInvoke.class)) {
bean.getAroundInvoke().add(new AroundInvoke(method));
}
}
if (bean instanceof TimerConsumer) {
TimerConsumer timerConsumer = (TimerConsumer) bean;