Spring Web Flow

Reference Documentation

Keith Donald

Erwin Vervaet

Alef Arendsen

Version 1.0 RC1

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.

February 2006


Table of Contents

서문
1. 소개
1.1. 개요
1.2. 패키징 개요
1.3. 높은 레벨의 구조
1.4. 패키지 구조
1.4.1. org.springframework.webflow
1.4.2. org.springframework.webflow.action
1.4.3. org.springframework.webflow.builder
1.4.4. org.springframework.webflow.execution
1.4.5. org.springframework.webflow.executor
1.4.6. org.springframework.webflow.registry
1.4.7. org.springframework.webflow.support
1.4.8. org.springframework.webflow.test
1.5. 지원
2. Flow 정의
2.1. 소개
2.2. Flow
2.2.1. XML 기반 flow템플릿
2.2.2. Java flow API 예제
2.3. State
2.4. 변화(transition)가능한(Transitionable) State
2.4.1. XML 기반 state 템플릿
2.4.2. Java state API 예제
2.5. Transition
2.5.1. Transition XML 템플릿
2.5.2. Transition Java API 예제
2.5.3. Action 변화(transition) 척도
2.5.4. 전역 전환(Global transitions)
2.5.4.1. 전역전환 - XML예제
2.6. 명백한(concrete) state 타입
2.6.1. ViewState
2.6.1.1. ViewSelector
2.6.1.2. ViewState XML - simple view selection
2.6.1.3. ViewState API - simple view selection
2.6.1.4. ViewState XML - conversation redirect
2.6.1.5. ViewState API - conversation redirect
2.6.1.6. ViewState XML - form state behavior
2.6.2. ActionState
2.6.2.1. Action execution points
2.6.2.2. Action properties
2.6.2.3. ActionState XML - simple action execution
2.6.2.4. ActionState API - simple action execution
2.6.2.5. ActionState XML - action method execution
2.6.2.6. ActionState API - action method execution
2.6.2.7. ActionState XML - POJO action method execution
2.6.2.8. ActionState API - POJO action method execution
2.6.3. DecisionState
2.6.3.1. DecisionState XML - expression evaluation
2.6.3.2. DecisionState XML - decision action
2.6.3.3. DecisionState XML - decision action with enum return value
2.6.4. SubflowState
2.6.4.1. SubflowState XML - with input attribute
2.6.4.2. SubflowState API - input attributes
2.6.5. EndState
2.6.5.1. EndState result events
2.6.5.2. EndState XML - output attribute
2.6.5.3. EndState API - output attribute
2.6.5.4. EndState XML - redirect after flow completion
3. Flow execution
3.1. Introduction
3.2. FlowExecution
3.2.1. Flow execution lifecycle
3.2.2. Flow execution properties
3.3. Flow execution context
3.4. Flow execution testing
3.4.1. Flow execution test example
4. Flow 수행 저장소
4.1. 소개
4.2. 저장소 구조에 대한 개요
4.3. 흐름수행(Flow execution) 식별
4.3.1. 대화(Conversation) 식별자
4.3.2. 지속성(Continuation) 식별자
4.3.3. 흐름수행 키
4.4. Conversation invalidation after completion
4.5. Flow execution repository implementations
4.5.1. Simple flow execution repository
4.5.2. Continuation flow execution repository
4.5.3. Client continuation flow execution repository
5. Flow executors
5.1. Introduction
5.2. FlowExecutor
5.2.1. FlowExecutorImpl
5.2.2. A typical flow executor configuration
5.2.3. A flow executor with a custom repository factory
5.3. Spring MVC integration
5.3.1. A single flow controller executing all flows in a Servlet MVC environment
5.3.2. A single portlet flow controller executing a flow within a Portlet
5.4. Flow executor parameterization
5.4.1. Launching a flow execution - parameter-style anchor
5.4.2. Launching a flow execution - REST-style anchor
5.4.3. Launching a flow execution - form
5.4.4. Resuming a flow execution - anchor
5.4.5. Resuming a flow execution - form
5.4.6. Resuming a flow execution - multiple form buttons
5.5. Struts integration
5.5.1. A single flow action executing all flows
5.6. Java Server Faces (JSF) integration
5.6.1. A typical faces-config.xml file
5.6.2. Launching a flow execution - command link
5.6.3. Resuming a flow execution - form
5.7. Sample applictions
6. Spring Web Flow 쇼케이스
6.1. 소개