Examples of ConditionalFlowExecutionListenerLoader


Examples of org.springframework.webflow.execution.factory.ConditionalFlowExecutionListenerLoader

  public void setListeners(Map listenersWithCriteria) {
    this.listenersWithCriteria = listenersWithCriteria;
  }

  public void afterPropertiesSet() {
    listenerLoader = new ConditionalFlowExecutionListenerLoader();
    Iterator it = listenersWithCriteria.entrySet().iterator();
    while (it.hasNext()) {
      Map.Entry entry = (Map.Entry) it.next();
      FlowExecutionListener listener = (FlowExecutionListener) entry.getKey();
      String criteria = (String) entry.getValue();
View Full Code Here

Examples of org.springframework.webflow.execution.factory.ConditionalFlowExecutionListenerLoader

  public void setListeners(Map<FlowExecutionListener, String> listenersWithCriteria) {
    this.listenersWithCriteria = listenersWithCriteria;
  }

  public void afterPropertiesSet() {
    listenerLoader = new ConditionalFlowExecutionListenerLoader();
    for (Map.Entry<FlowExecutionListener, String> entry : listenersWithCriteria.entrySet()) {
      FlowExecutionListener listener = entry.getKey();
      String criteria = entry.getValue();
      listenerLoader.addListener(listener, listenerCriteriaFactory.getListenerCriteria(criteria));
    }
View Full Code Here

Examples of org.springframework.webflow.execution.factory.ConditionalFlowExecutionListenerLoader

   *   should observe, delimited by commas or '*' for "all".
   *   Example: 'flow1,flow2,flow3'.
   */
  public FlowExecutorBuilder addFlowExecutionListener(FlowExecutionListener listener, String criteria) {
    if (this.listenerLoader == null) {
      this.listenerLoader = new ConditionalFlowExecutionListenerLoader();
    }
    this.listenerLoader.addListener(listener, this.listenerCriteriaFactory.getListenerCriteria(criteria));
    return this;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.