报告 Spring Webflow 基于 XML 的上下文的问题:

示例:


  <beans ...
    xmlns:webflow="http://www.springframework.org/schema/webflow-config ...">
    
    <webflow:flow-executor id="flowExecutorWithoutFlowRegistryRef"/> <!-- 找不到默认 ID 为 'flowRegistry' 的 <flow-registry> -->
    <webflow:flow-executor
      id=""  <!--Value must not be empty-->
      flow-registry="INVALID_VALUE"  <!-- 无法解析 bean INVALID_VALUE -->
           <webflow:flow-execution-repository
                   conversation-manager="dummyBean" <!-- Bean must be of 'org.springframework.webflow.conversation.ConversationManager' type"-->
                    max-executions="INVALID_VALUE" <!-- 值为整数-->
                    max-execution-snapshots="INVALID_VALUE"/>  <!-- 值为整数-->
           <webflow:flow-execution-listeners>
			<webflow:listener criteria="*"
                           ref="dummyBean" /> <!-- Bean 必须为 ‘org.springframework.webflow.execution.FlowExecutionListener' 类型 -->
           </webflow:flow-execution-listeners>
    </webflow:flow-executor>
    <webflow:flow-executor id="dummy"
      flow-registry="dummyBean"/> <!-- Bean 必须为 'org.springframework.webflow.definition.registry.FlowDefinitionRegistry' 类型 -->

    <bean id="dummyBean" class="java.lang.String"/>
  </beans>