Package com.higherfrequencytrading.chronicle.tools

Examples of com.higherfrequencytrading.chronicle.tools.ConfigProperties


                MasterContext defaultContext = type.getAnnotation(MasterContext.class);
                for (Field field : type.getDeclaredFields()) {
                    MasterContext fieldContext = field.getAnnotation(MasterContext.class);
                    String contextName = fieldContext != null ? fieldContext.value() :
                            defaultContext != null ? defaultContext.value() : "local";
                    ConfigProperties configProperties2 = configProperties.addToScope(contextName);
                    String uri = configProperties2.get("uri");
                    DataStore dataStore = acquireDataStore(contextName, uri, contextName.equals(nodeName) ? ModelMode.MASTER : ModelMode.READ_ONLY);
                    dataStore.injectField(model, field);
                }
            }
        } catch (IllegalAccessException e) {
View Full Code Here

TOP

Related Classes of com.higherfrequencytrading.chronicle.tools.ConfigProperties

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.