private static void handleDefaultsEventMeta(Configuration configuration, Element parentElement) { DOMElementIterator nodeIterator = new DOMElementIterator(parentElement.getChildNodes()); while (nodeIterator.hasNext()) { Element subElement = nodeIterator.next(); if (subElement.getNodeName().equals("class-property-resolution")) { String styleText = subElement.getAttributes().getNamedItem("style").getTextContent(); Configuration.PropertyResolutionStyle value = Configuration.PropertyResolutionStyle.valueOf(styleText.toUpperCase()); configuration.getEngineDefaults().getEventMeta().setClassPropertyResolutionStyle(value); } } }
eventAdapterService.setDefaultPropertyResolutionStyle(configSnapshot.getEngineDefaults().getEventMeta().getClassPropertyResolutionStyle()); for (String javaPackage : configSnapshot.getEventTypeAutoAliasPackages())
/** * Ctor. */ protected ConfigurationEngineDefaults() { threading = new Threading(); viewResources = new ViewResources(); eventMeta = new EventMeta(); logging = new Logging(); variables = new Variables(); streamSelection = new StreamSelection(); timeSource = new TimeSource(); metricsReporting = new ConfigurationMetricsReporting(); }