Author: boisvert Date: Thu May 24 19:03:24 2007 New Revision: 541511 URL: http://svn.apache.org/viewvc?view=rev&rev=541511 Log: Instance-level events where no longer generated correctly
Modified: incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java Modified: incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java?view=diff&rev=541511&r1=541510&r2=541511 ============================================================================== --- incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java (original) +++ incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/ProcessConfImpl.java Thu May 24 19:03:24 2007 @@ -273,19 +273,19 @@ } public boolean isEventEnabled(List<String> scopeNames, BpelEvent.TYPE type) { - if (scopeNames == null) return false; + if (scopeNames != null) { for (String scopeName : scopeNames) { Set<BpelEvent.TYPE> evtSet = _events.get(scopeName); if (evtSet != null) { if (evtSet.contains(type)) return true; } } + } Set<BpelEvent.TYPE> evtSet = _events.get(null); if (evtSet != null) { // Default filtering at the process level for some event types if (evtSet.contains(type)) return true; } - return false; }