Java Doc for FlowServiceLocator.java in  » Workflow-Engines » spring-webflow-1.0.4 » org » springframework » webflow » engine » builder » Java Source Code / Java DocumentationJava Source Code and Java Documentation

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 » org.springframework.webflow.engine.builder 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.springframework.webflow.engine.builder.FlowServiceLocator

All known Subclasses:   org.springframework.webflow.engine.builder.xml.LocalFlowServiceLocator,  org.springframework.webflow.engine.builder.BaseFlowServiceLocator,
FlowServiceLocator
public interface FlowServiceLocator (Code)
A support interface used by flow builders at configuration time. Acts as a "service locator" responsible for:
  1. Retrieving dependent (but externally managed) flow services needed to configure flow and state definitions. Such services are usually hosted in a backing registry and may be shared by multiple flows.
  2. Providing access to abstract factories to create core flow definitional artifacts such as Flow , State , Transition , and AbstractBeanInvokingAction bean invoking actions . These artifacts are unique to each flow and are typically not shared.

In general, implementations of this interface act as facades to accessing and creating flow artifacts during FlowAssembler flow assembly .

Finally, this interface also exposes access to generic infrastructure services also needed by flow assemblers such as a ConversionService and ExpressionParser .
See Also:   org.springframework.webflow.engine.builder.FlowBuilder
See Also:   org.springframework.webflow.engine.builder.BaseFlowBuilder
See Also:   org.springframework.webflow.engine.builder.FlowAssembler
author:
   Keith Donald
author:
   Erwin Vervaet





Method Summary
public  ActiongetAction(String id)
     Retrieve an action to be executed within a flow with the assigned id.
public  FlowAttributeMappergetAttributeMapper(String id)
     Returns the flow attribute mapper with the provided id.
public  BeanFactorygetBeanFactory()
     Returns a generic bean (service) registry for accessing arbitrary beans.
public  BeanInvokingActionFactorygetBeanInvokingActionFactory()
     Returns the factory for bean invoking actions.
public  ConversionServicegetConversionService()
     Returns a generic type conversion service for converting between types, typically from string to a rich value object.
public  FlowExecutionExceptionHandlergetExceptionHandler(String id)
     Returns the exception handler to handle flow execution exceptions with the provided id.
public  ExpressionParsergetExpressionParser()
     Returns the expression parser for parsing expression strings.
public  FlowArtifactFactorygetFlowArtifactFactory()
     Returns the factory for core flow artifacts such as Flow and State.
public  ResourceLoadergetResourceLoader()
     Returns a generic resource loader for accessing file-based resources.
public  FlowgetSubflow(String id)
     Returns the Flow to be used as a subflow with the provided id.
public  TargetStateResolvergetTargetStateResolver(String id)
     Returns the transition target state resolver with the specified id.
public  TransitionCriteriagetTransitionCriteria(String id)
     Returns the transition criteria to drive state transitions with the provided id.
public  ViewSelectorgetViewSelector(String id)
     Returns the view selector to make view selections in view states with the provided id.



Method Detail
getAction
public Action getAction(String id) throws FlowArtifactLookupException(Code)
Retrieve an action to be executed within a flow with the assigned id.
Parameters:
  id - the id of the action
throws:
  FlowArtifactLookupException - when no such action is found



getAttributeMapper
public FlowAttributeMapper getAttributeMapper(String id) throws FlowArtifactLookupException(Code)
Returns the flow attribute mapper with the provided id. Flow attribute mappers are used from subflow states to map input and output attributes.
Parameters:
  id - the attribute mapper id the attribute mapper
throws:
  FlowArtifactLookupException - when no such mapper is found



getBeanFactory
public BeanFactory getBeanFactory() throws UnsupportedOperationException(Code)
Returns a generic bean (service) registry for accessing arbitrary beans. the generic service registry
throws:
  UnsupportedOperationException - when not supported by this locator



getBeanInvokingActionFactory
public BeanInvokingActionFactory getBeanInvokingActionFactory()(Code)
Returns the factory for bean invoking actions. the bean invoking action factory



getConversionService
public ConversionService getConversionService()(Code)
Returns a generic type conversion service for converting between types, typically from string to a rich value object. the generic conversion service



getExceptionHandler
public FlowExecutionExceptionHandler getExceptionHandler(String id) throws FlowArtifactLookupException(Code)
Returns the exception handler to handle flow execution exceptions with the provided id.
Parameters:
  id - the exception handler id the exception handler
throws:
  FlowArtifactLookupException - when no such handler is found



getExpressionParser
public ExpressionParser getExpressionParser()(Code)
Returns the expression parser for parsing expression strings. the expression parser



getFlowArtifactFactory
public FlowArtifactFactory getFlowArtifactFactory()(Code)
Returns the factory for core flow artifacts such as Flow and State. the flow artifact factory



getResourceLoader
public ResourceLoader getResourceLoader()(Code)
Returns a generic resource loader for accessing file-based resources. the generic resource loader



getSubflow
public Flow getSubflow(String id) throws FlowArtifactLookupException(Code)
Returns the Flow to be used as a subflow with the provided id.
Parameters:
  id - the flow id the flow to be used as a subflow
throws:
  FlowArtifactLookupException - when no such flow is found



getTargetStateResolver
public TargetStateResolver getTargetStateResolver(String id) throws FlowArtifactLookupException(Code)
Returns the transition target state resolver with the specified id.
Parameters:
  id - the target state resolver id the target state resolver
throws:
  FlowArtifactLookupException - when no such resolver is found



getTransitionCriteria
public TransitionCriteria getTransitionCriteria(String id) throws FlowArtifactLookupException(Code)
Returns the transition criteria to drive state transitions with the provided id.
Parameters:
  id - the transition criteria id the transition criteria
throws:
  FlowArtifactLookupException - when no such criteria is found



getViewSelector
public ViewSelector getViewSelector(String id) throws FlowArtifactLookupException(Code)
Returns the view selector to make view selections in view states with the provided id.
Parameters:
  id - the view selector id the view selector
throws:
  FlowArtifactLookupException - when no such selector is found



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.