LifecycleCallback postConstruct = getFirst(bean.getPostConstruct()); if (postConstruct == null) { for (Method method : classFinder.findAnnotatedMethods(PostConstruct.class)) { LifecycleCallback preDestroy = getFirst(bean.getPreDestroy()); if (preDestroy == null) { for (Method method : classFinder.findAnnotatedMethods(PreDestroy.class)) { AroundInvoke aroundInvoke = getFirst(bean.getAroundInvoke()); if (aroundInvoke == null) { for (Method method : classFinder.findAnnotatedMethods(javax.interceptor.AroundInvoke.class)) { LifecycleCallback postActivate = getFirst(session.getPostActivate()); if (postActivate == null) { for (Method method : classFinder.findAnnotatedMethods(PostActivate.class)) { LifecycleCallback prePassivate = getFirst(session.getPrePassivate()); if (prePassivate == null) { for (Method method : classFinder.findAnnotatedMethods(PrePassivate.class)) {
final LifecycleCallback afterBegin = getFirst(session.getAfterBegin()); if (afterBegin == null) { for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(AfterBegin.class))) { final LifecycleCallback beforeCompletion = getFirst(session.getBeforeCompletion()); if (beforeCompletion == null) { for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(BeforeCompletion.class))) { final LifecycleCallback afterCompletion = getFirst(session.getAfterCompletion()); if (afterCompletion == null) { for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(AfterCompletion.class))) {
final LifecycleCallback afterBegin = getFirst(session.getAfterBegin()); if (afterBegin == null) { for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(AfterBegin.class))) { final LifecycleCallback beforeCompletion = getFirst(session.getBeforeCompletion()); if (beforeCompletion == null) { for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(BeforeCompletion.class))) { final LifecycleCallback afterCompletion = getFirst(session.getAfterCompletion()); if (afterCompletion == null) { for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(AfterCompletion.class))) {