spring webflow 1.0.4

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » spring webflow 1.0.4 
Spring Web Flow
License:Apache License
URL:http://www.springframework.org/webflow
Description:Spring Web Flow is a next generation Java web application framework that allows developers to model user actions as high-level modules called flows that are runnable in any environment.
Package NameComment
org.springframework.binding.collection

Collection related classes usable by other packages and systems.

org.springframework.binding.convert

Core services for converting objects from one type to another.

org.springframework.binding.convert.support

Supporting type converter implementations that are generically applicable and frequently used.

org.springframework.binding.expression

Core expression language abstraction for parsing and evaluating expressions.

org.springframework.binding.expression.support

Expression abstraction implementations, integrated with BeanWrapper and OGNL.

org.springframework.binding.format

Core services for formatting objects in string form.

org.springframework.binding.format.support

Supporting formatter implementations that are generically applicable and frequently used.

org.springframework.binding.mapping

Support for mapping attribute values between data structures.

org.springframework.binding.method

Method binding support for invoking abritrary methods on target beans.

org.springframework.webflow.action

Common action implementations invokable by flow definitions.

When implementing custom actions, consider subclassing {@link org.springframework.webflow.action.AbstractAction}. Alternatively, you could also subclass {@link org.springframework.webflow.action.MultiAction} to bundle several action execution methods in a single class.

The {@link org.springframework.webflow.action.FormAction} provides powerful input form handling functionality.

org.springframework.webflow.action.portlet

Action implementations that define logic specific to flows executing in a JSR-168 Portlet environment.

org.springframework.webflow.config

High-level flow system configuration support within a Spring environment.

This is the highest-layer package in the framework, responsible for providing a clean interface for configuring Spring Web Flow.

This package also defines a Spring 2.0 custom XML namespace for configuring the Spring Web Flow engine in a Spring 2.0 environment.

org.springframework.webflow.context The external context subsystem for accessing the environment of a client that has called into Spring Web Flow.
org.springframework.webflow.context.portlet The representation of a client request into Spring Web Flow from a JSR-168 Portlet environment.

Portlets are specified in the Java Portlet Standard.

org.springframework.webflow.context.servlet The representation of a client request into Spring Web Flow from an HTTP Servlet environment.
org.springframework.webflow.conversation

The conversation subsystem for beginning and ending conversations that manage the state of user interactions.

The central concept defined by this package is the {@link org.springframework.webflow.conversation.ConversationManager}, representing a service interface for managing conversations.

This package serves as a portable conversation management abstraction and does not depend on the Spring Web Flow engine. It is used by the flow execution repository subsystem to store conversation related state. It is important to realize that this subsystem does not define a conceptual conversation, it just servers as a technical layer to manage state associated with conversations, as implemented by the SWF engine.

org.springframework.webflow.conversation.impl

Conversation manager implementations.

This package depends on the root conversation package.

org.springframework.webflow.core

Foundational, generic types usable by all other packages.

org.springframework.webflow.core.collection

Core element collection types used within Spring Web Flow.

This packages defines two primary collection flavors:

  1. AttributeMap - for accessing 'attributes' that have string keys and object values.
  2. ParameterMap - for accessing 'parameters' that have string keys and string values.

Each map is java.util.Map adaptable.

org.springframework.webflow.definition

Core, stable abstractions for representing flow definitions.

Each flow has an indentifier and is composed of one or more states, one of which is the start state. States may be transitionable, and if so define one or more transitions that lead to other states.

With these types a client can introspect a flow definition to reason on its attributes and traverse its structure, perhaps to display a visual diagram. Note that the types defined in this package do not capture the behavioral characteristics of a flow.

The following code shows the beginnings of a basic flow definition traversal algorithm:

    FlowDefinition flow = ...

    // lookup start state
    StateDefinition state = flow.getStartState();

    // traverse to state transitions
    traverse(state);

    public void traverse(StateDefinition state) {
        logger.info("State: " + state.getId());
        while (state instanceof TransitionableStateDefinition) {
            TransitionableStateDefinition transitionable = (TransitionableStateDefinition)state;
            TransitionDefinition[] transitions = transitionable.getTransitions();
            for (int i = 0; i < transitions.length; i++) {
                Transition t = transitions[i];
                logger.info("Transition " + t.getId());
                traverse(state.getOwner().getState(t.getTargetStateId()); 
            }
        }    
    }

org.springframework.webflow.definition.registry

The flow definition registry subsystem for managing containers of flow definitions.

You can construct a generic, initially empty FlowDefinitionRegistry, populate it with flow definitions using a FlowDefinitionRegistrar, then lookup flow definitions by id. For example:

    // create registry
    FlowDefinitionRegistry registry = new FlowDefinitionRegistryImpl();

    // populate registry
    FlowDefinitionRegistrar registrar = ..
    registrar.addLocation(...);
    registrar.addLocation(...);
    registrar.registerFlowDefinitions(registry);

    // use registry
    FlowDefinition flow = registry.getFlow("myFlow");

org.springframework.webflow.engine

The implementation of the core flow definition artifacts that serve the basis of the flow execution engine.

The engine implementation itself is located within the {@link org.springframework.webflow.engine.impl impl} package. Builders for assembling flow definitions executable by this engine are located within the {@link org.springframework.webflow.engine.builder builder} package.

org.springframework.webflow.engine.builder

The flow builder subsystem for building and assembling executable flow definitions.

You construct a Flow using a {@link org.springframework.webflow.engine.builder.FlowBuilder}. This package defines the following flow builder implementations:

  • {@link org.springframework.webflow.engine.builder.AbstractFlowBuilder} - A convenience superclass to use when you want to assemble the web flow in Java code.
  • {@link org.springframework.webflow.engine.builder.xml.XmlFlowBuilder} - A flow builder that reads an XML file containing a web flow definition and constructs the flow accordingly.
During flow construction, a flow builder may need to access externally managed flow artifacts referenced by the flow definition. The {@link org.springframework.webflow.engine.builder.FlowServiceLocator} fulfills this need, acting as a facade or gateway to an external registry of flow artifacts (such as a Spring Bean Factory).

To direct flow construction, use the {@link org.springframework.webflow.engine.builder.FlowAssembler}. This package is based on the classic GoF Builder design pattern.

org.springframework.webflow.engine.builder.xml

The XML-based flow builder implementation.

org.springframework.webflow.engine.impl

The implementation of Spring Web Flow's flow execution machine.

org.springframework.webflow.engine.support

Support implementations for internal engine-specific types.

org.springframework.webflow.execution

Core, stable abstractions for representing runtime executions of flow definitions.

The central concept defined by this package is the {@link org.springframework.webflow.execution.FlowExecution} interface, which represents a single instance of a top-level flow definition.

The following classes and interfaces are of particular interest:

  • {@link org.springframework.webflow.execution.FlowExecutionFactory} - An abstract factory for creating new flow executions.
  • {@link org.springframework.webflow.execution.repository.FlowExecutionRepository} - A DAO for persisting and restoring existing flow executions.
  • {@link org.springframework.webflow.execution.FlowExecutionListener} - An observer interface to be implemented by objects that are interested in flow execution lifecycle events.

Package Usage example:

    // create flow execution
    FlowDefinition definition = ...
    FlowExecutionFactory factory = ...
    FlowExecution execution = factory.createFlowExecution(definition);
    
    // start execution
    ExternalContext context = ...
    ViewSelection response = execution.start(null, context);

This package depends on the definition package.

org.springframework.webflow.execution.factory

Supporting types often used by flow execution factory implementations. In particular, this package provides a number of classes facillitating the registration of flow execution listeners with a flow execution during its construction by a flow execution factory.

org.springframework.webflow.execution.repository

The flow execution repository subsystem for saving, and restoring managed flow executions.

The central concept defined by this package is the {@link org.springframework.webflow.execution.repository.FlowExecutionRepository}, representing a persistent store for one or more FlowExecution objects that capture the state of user conversations in a form that can be restored on subsequent requests.

org.springframework.webflow.execution.repository.continuation

Implementation of continuation-based flow execution repositories.

org.springframework.webflow.execution.repository.support General purpose implementation assistance for flow execution repositories. Supports the other repository packages within the framework.
org.springframework.webflow.execution.support

Useful generic support implementations of core flow execution types.

org.springframework.webflow.executor

High-level executors for driving the execution of flow definitions.

The central concept defined by this package is the {@link org.springframework.webflow.executor.FlowExecutor}, representing a facade or entry-point for driving the execution of flows. This interface acts as the system boundary into Spring Web Flow most calling systems interact with.

org.springframework.webflow.executor.jsf

The integration layer between Spring Web Flow and Java Server Faces (JSF).

org.springframework.webflow.executor.mvc The integration layer between Spring Web Flow the Spring (Portlet) MVC framework.
org.springframework.webflow.executor.struts The integration layer between Spring Web Flow and Struts 1.x.
org.springframework.webflow.executor.support Flow executor implementation support; includes helpers for driving the execution of flows.
org.springframework.webflow.test

Support for testing flows and their associated artifacts.

When you want to unit test one of your flows the {@link org.springframework.webflow.test.execution.AbstractFlowExecutionTests} and associated subclasses provide a base you can extend.

When unit testing flow artifacts such as actions in isolation, the {@link org.springframework.webflow.test.MockRequestContext} is of particular interest.

All mock implementations provided by this package are NOT intended to be used for anything but standalone unit tests. They are simple state holders, stub implementations, at least if you follow Martin Fowler's reasoning. These classes are called Mocks to be consistent with the naming convention in the rest of the Spring framework (e.g. MockHttpServletRequest, ...).

org.springframework.webflow.test.execution

Support for testing the execution of a flow definition.

org.springframework.webflow.util General purpose utility classes used internally by the Spring Web Flow system.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.