Package es.internna.framework.annotations

Examples of es.internna.framework.annotations.Bean


                    try {
                        Resource[] resources = this.applicationContext.getResources(packagePattern);
                        for (Resource resource : resources) {
                            Class<?> clazz = loadClass(configurableListableBeanFactory.getBeanClassLoader(), packagePattern, resource);
                            if (log.isDebugEnabled()) log.debug("Scanned " + clazz.getName());
                            Bean bean = clazz.getAnnotation(Bean.class);
                            if (bean != null) {
                                if (log.isInfoEnabled()) log.info("Detected @Bean annotation in " + resource.getFilename());
                                createAndRegisterBean(registry, clazz, bean);
                            }
                        }
View Full Code Here

TOP

Related Classes of es.internna.framework.annotations.Bean

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.