Package org.gwtoolbox.bean.rebind.selector

Examples of org.gwtoolbox.bean.rebind.selector.AnnotationBasedSelector


    private BeanClassSelector resolveBeanClassSelector(JClassType type) {
        if (type.isAnnotationPresent(PatternBasedBeanSelector.class)) {
            return new PatternBasedSelector(type.getAnnotation(PatternBasedBeanSelector.class));
        }
        if (type.isAnnotationPresent(AnnotationBasedBeanSelector.class)) {
            return new AnnotationBasedSelector(type.getAnnotation(AnnotationBasedBeanSelector.class));
        }

        // fallback on annotation based with default annotation (@Bean)
        return new DefaultSelector();
    }
View Full Code Here

TOP

Related Classes of org.gwtoolbox.bean.rebind.selector.AnnotationBasedSelector

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.