Package com.netflix.governator.annotations

Examples of com.netflix.governator.annotations.ConfigurationVariable


         * Any field annotated with @ConfigurationVariable will be available for
         * replacement when generating property names
         */
        Map<String, String> overrides = Maps.newHashMap();
        for ( Field variableField : methods.fieldsFor(ConfigurationVariable.class)) {
            ConfigurationVariable annot = variableField.getAnnotation(ConfigurationVariable.class);
            if (annot != null) {
                overrides.put(annot.name(), variableField.get(obj).toString());
            }
        }
       
        /**
         * Map a configuration to any field with @Configuration annotation
View Full Code Here

TOP

Related Classes of com.netflix.governator.annotations.ConfigurationVariable

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.