Package org.conventionsframework.qualifier

Examples of org.conventionsframework.qualifier.PropertyFile


    @Produces
    @PropertyFile
    public Properties produceProperty(InjectionPoint ip) {

        if (ip.getAnnotated().isAnnotationPresent(PropertyFile.class)) {
            PropertyFile property = ip.getAnnotated().getAnnotation(PropertyFile.class);
            if (!"".endsWith(property.file())) {
                this.loadProperties(property.file());
            }
        }
        return currentProps;
    }
View Full Code Here

TOP

Related Classes of org.conventionsframework.qualifier.PropertyFile

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.