Package org.jboss.as.deployment.managedbean.config

Examples of org.jboss.as.deployment.managedbean.config.InterceptorConfiguration


                continue; // TODO: Process without index info
            final Map<DotName, List<AnnotationTarget>> interceptorClassAnnotations = classInfo.annotations();

            final Method aroundInvokeMethod = getSingleAnnotatedMethod(interceptorType, classInfo, AroundInvoke.class, true);
            final List<ResourceConfiguration> resourceConfigurations = processResources(interceptorClassAnnotations, interceptorType);
            interceptorConfigurations.add(new InterceptorConfiguration(interceptorType, aroundInvokeMethod, resourceConfigurations));
        }

        //Look for any @AroundInvoke methods on bean class
        final ClassInfo classInfo = index.getClassByName(DotName.createSimple(beanClass.getName()));
        if (classInfo != null) {
            final Method aroundInvokeMethod = getSingleAnnotatedMethod(beanClass, classInfo, AroundInvoke.class, true);
            if (aroundInvokeMethod != null) {
                final List<ResourceConfiguration> resources = processClassResources(beanClass);
                interceptorConfigurations.add(new InterceptorConfiguration(beanClass, aroundInvokeMethod, resources));
            }
        }

        return interceptorConfigurations;
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.deployment.managedbean.config.InterceptorConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.