public List<CorrelationGroup> findCorrelationGroups(final String name) throws CoreException { List<CorrelationGroup> res = new ArrayList<CorrelationGroup>(); for(CorrelationGroup correlationGroup: correlationGroups) { if(correlationGroup.getCorrelations().get(name) != null) { res.add(correlationGroup); } } Scope current = this.getParentScope(this); if(current != null) { res.addAll(current.findCorrelationGroups(name)); current = this.getParentScope(current); } return res; }
log.finest("Correlation found: execute correlation for receiver: " + this.getName()); for(CorrelationMatcher corr: this.correlationsMatcher) { correlationOK = corr.match(scope, variableName, message); if(correlationOK) { break;
correlationGroup.setCorrelations(coreCorrelations); corr.setName(correlation.getSet()); corr.setOrignator(to); corr.setFollower(from); corr.getName(), corr);
for(final CorrelationGroup correlationGroup: correlationGroups) { for(final Entry<String, com.ebmwebsourcing.easyviper.core.api.soa.correlation.Correlation> correlation: correlationGroup.getCorrelations().entrySet()) { final To to = (To) corr.getOriginator(); final From from = (From) corr.getFollower();
public List<CorrelationGroup> findCorrelationGroups(final String name) throws CoreException { List<CorrelationGroup> res = new ArrayList<CorrelationGroup>(); for(CorrelationGroup correlationGroup: correlationGroups) { if(correlationGroup.getCorrelations().get(name) != null) { res.add(correlationGroup); } } Scope current = this.getParentScope(this); if(current != null) { res.addAll(current.findCorrelationGroups(name)); current = this.getParentScope(current); } return res; }
log.finest("Correlation found: execute correlation for receiver: " + this.getName()); for(CorrelationMatcher corr: this.correlationsMatcher) { correlationOK = corr.match(scope, variableName, message); if(correlationOK) { break;