Source Code Cross Referenced for Configuration.java in  » Workflow-Engines » OSWorkflow » com » opensymphony » workflow » config » 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 » OSWorkflow » com.opensymphony.workflow.config 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * Copyright (c) 2002-2003 by OpenSymphony
03:         * All rights reserved.
04:         */
05:        package com.opensymphony.workflow.config;
06:
07:        import com.opensymphony.workflow.FactoryException;
08:        import com.opensymphony.workflow.StoreException;
09:        import com.opensymphony.workflow.loader.WorkflowDescriptor;
10:        import com.opensymphony.workflow.spi.WorkflowStore;
11:        import com.opensymphony.workflow.util.VariableResolver;
12:
13:        import java.net.URL;
14:
15:        import java.util.Map;
16:
17:        /**
18:         * Configuration object that is responsible for all 'static' workflow information.
19:         * This includes loading of workflow configurations, setting up the workflow
20:         * descriptor factory, as well as proxying calls to the underlying descriptor
21:         * factory.
22:         * Date: Mar 22, 2004
23:         * Time: 3:42:19 PM
24:         *
25:         * @author hani
26:         */
27:        public interface Configuration {
28:            //~ Methods ////////////////////////////////////////////////////////////////
29:
30:            /**
31:             * @return true if this factory has been initialised.
32:             * If the factory is not initialised, then {@link #load(java.net.URL)}
33:             * will be called.
34:             */
35:            boolean isInitialized();
36:
37:            /**
38:             * Check if a particular workflow can be modified or not.
39:             * @param name The workflow name.
40:             * @return true if the workflow can be modified, false otherwise.
41:             */
42:            boolean isModifiable(String name);
43:
44:            /**
45:             * Get the fully qualified class name of the persistence store.
46:             */
47:            String getPersistence();
48:
49:            /**
50:             * Get the persistence args for the persistence store.
51:             * Note that this returns the actual args and not a copy,
52:             * so modifications to the returned Map could potentially
53:             * affect store behaviour.
54:             */
55:            Map getPersistenceArgs();
56:
57:            /**
58:             * Return the resolver to use for all variables specified in scripts
59:             */
60:            VariableResolver getVariableResolver();
61:
62:            /**
63:             * Get the named workflow descriptor.
64:             * @param name the workflow name
65:             * @throws FactoryException if there was an error looking up the descriptor or if it could not be found.
66:             */
67:            WorkflowDescriptor getWorkflow(String name) throws FactoryException;
68:
69:            /**
70:             * Get a list of all available workflow descriptor names.
71:             * @throws FactoryException if the underlying factory does not support this method
72:             * or if there was an error looking up workflow names.
73:             */
74:            String[] getWorkflowNames() throws FactoryException;
75:
76:            WorkflowStore getWorkflowStore() throws StoreException;
77:
78:            /**
79:             * Load the specified configuration file.
80:             * @param url url to the configuration file.
81:             */
82:            void load(URL url) throws FactoryException;
83:
84:            /**
85:             * Remove the specified workflow.
86:             * @param workflow The workflow name of the workflow to remove.
87:             * @return true if the workflow was removed, false otherwise.
88:             * @throws FactoryException If the underlying workflow factory has an error removing the workflow,
89:             * or if it does not support the removal of workflows.
90:             */
91:            boolean removeWorkflow(String workflow) throws FactoryException;
92:
93:            boolean saveWorkflow(String name, WorkflowDescriptor descriptor,
94:                    boolean replace) throws FactoryException;
95:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.