for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(PostConstruct.class))) { bean.getPostConstruct().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(PreDestroy.class))) { bean.getPreDestroy().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(javax.interceptor.AroundInvoke.class))) { invokable.getAroundInvoke().add(new AroundInvoke(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(javax.interceptor.AroundTimeout.class))) { invokable.getAroundTimeout().add(new AroundTimeout(method.get())); final TimerConsumer timerConsumer = (TimerConsumer) bean; if (timerConsumer.getTimeoutMethod() == null) { final List<Annotated<Method>> timeoutMethods = sortMethods(annotationFinder.findMetaAnnotatedMethods(javax.ejb.Timeout.class)); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(AfterBegin.class))) { session.getAfterBegin().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(BeforeCompletion.class))) { session.getBeforeCompletion().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(AfterCompletion.class))) { session.getAfterCompletion().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(PostActivate.class))) { session.getPostActivate().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(PrePassivate.class))) {
for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(PostConstruct.class))) { bean.getPostConstruct().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(PreDestroy.class))) { bean.getPreDestroy().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(javax.interceptor.AroundInvoke.class))) { invokable.getAroundInvoke().add(new AroundInvoke(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(javax.interceptor.AroundTimeout.class))) { invokable.getAroundTimeout().add(new AroundTimeout(method.get())); final TimerConsumer timerConsumer = (TimerConsumer) bean; if (timerConsumer.getTimeoutMethod() == null) { final List<Annotated<Method>> timeoutMethods = sortMethods(annotationFinder.findMetaAnnotatedMethods(javax.ejb.Timeout.class)); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(AfterBegin.class))) { session.getAfterBegin().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(BeforeCompletion.class))) { session.getBeforeCompletion().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(AfterCompletion.class))) { session.getAfterCompletion().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(PostActivate.class))) { session.getPostActivate().add(new LifecycleCallback(method.get())); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(PrePassivate.class))) {
final List<Annotated<Method>> annotatedMethods = sortMethods(annotationFinder.findMetaAnnotatedMethods(Interceptors.class)); for (final Annotated<Method> method : annotatedMethods) { final Interceptors interceptors = method.getAnnotation(Interceptors.class); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(ExcludeClassInterceptors.class))) { final InterceptorBinding binding = assemblyDescriptor.addInterceptorBinding(new InterceptorBinding(bean)); binding.setExcludeClassInterceptors(true);
final List<Annotated<Method>> annotatedMethods = sortMethods(annotationFinder.findMetaAnnotatedMethods(Interceptors.class)); for (final Annotated<Method> method : annotatedMethods) { final Interceptors interceptors = method.getAnnotation(Interceptors.class); for (final Annotated<Method> method : sortMethods(annotationFinder.findMetaAnnotatedMethods(ExcludeClassInterceptors.class))) { final InterceptorBinding binding = assemblyDescriptor.addInterceptorBinding(new InterceptorBinding(bean)); binding.setExcludeClassInterceptors(true);