Package org.jboss.solder.serviceHandler

Examples of org.jboss.solder.serviceHandler.ServiceHandlerBeanLifecycle


    protected <X> void buildBean(AnnotatedType<X> annotatedType, BeanManager beanManager, final Class<?> handlerClass) {
        try {
            final BeanBuilder<X> builder = new BeanBuilder<X>(beanManager);
            builder.readFromType(annotatedType);
            builder.types(extracted(annotatedType));
            builder.beanLifecycle(new ServiceHandlerBeanLifecycle(
                    annotatedType.getJavaClass(), handlerClass, beanManager));
            builder.toString("Generated @ServiceHandler for [" + builder.getBeanClass() + "] with qualifiers ["
                    + builder.getQualifiers() + "] handled by " + handlerClass);
            beans.add(builder.create());
            log.debug("Adding @ServiceHandler bean for [" + builder.getBeanClass() + "] with qualifiers ["
View Full Code Here


    protected <X> void buildBean(AnnotatedType<X> annotatedType, BeanManager beanManager, final Class<?> handlerClass) {
        try {
            final BeanBuilder<X> builder = new BeanBuilder<X>(beanManager);
            builder.readFromType(annotatedType);
            builder.types(annotatedType.getTypeClosure());
            builder.beanLifecycle(new ServiceHandlerBeanLifecycle(
                    annotatedType.getJavaClass(), handlerClass, beanManager));
            builder.toString("Generated @ServiceHandler for [" + builder.getBeanClass() + "] with qualifiers ["
                    + builder.getQualifiers() + "] handled by " + handlerClass);
            beans.add(builder.create());
            log.debug("Adding @ServiceHandler bean for [" + builder.getBeanClass() + "] with qualifiers ["
View Full Code Here

TOP

Related Classes of org.jboss.solder.serviceHandler.ServiceHandlerBeanLifecycle

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.