Source Code Cross Referenced for InvokeImpl.java in  » Workflow-Engines » bexee » bexee » model » activity » impl » 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 » bexee » bexee.model.activity.impl 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * $Id: InvokeImpl.java,v 1.17 2004/12/09 12:34:19 kowap Exp $
003:         *
004:         * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
005:         * Berne University of Applied Sciences
006:         * School of Engineering and Information Technology
007:         * All rights reserved.
008:         */
009:        package bexee.model.activity.impl;
010:
011:        import java.util.ArrayList;
012:        import java.util.List;
013:
014:        import javax.xml.namespace.QName;
015:
016:        import bexee.core.ProcessController;
017:        import bexee.core.ProcessInstance;
018:        import bexee.model.BPELElementVisitor;
019:        import bexee.model.StandardAttributes;
020:        import bexee.model.activity.CatchAll;
021:        import bexee.model.activity.CompensationHandler;
022:        import bexee.model.activity.Invoke;
023:        import bexee.model.elements.CatchFault;
024:        import bexee.model.elements.Correlations;
025:        import bexee.model.elements.PartnerLink;
026:        import bexee.model.elements.Variable;
027:
028:        /**
029:         * Default implementation of the <code>Invoke</code> activity.
030:         * 
031:         * @version $Revision: 1.17 $, $Date: 2004/12/09 12:34:19 $
032:         * @author Patric Fornasier
033:         * @author Pawel Kowalski
034:         */
035:        public class InvokeImpl extends AbstractActivity implements  Invoke {
036:
037:            private PartnerLink partnerLink;
038:
039:            private QName portType;
040:
041:            private String operation;
042:
043:            private Variable inVariable;
044:
045:            private Variable outVariable;
046:
047:            private Correlations correlations;
048:
049:            private List catchFaults;
050:
051:            private CatchAll catchAll;
052:
053:            private CompensationHandler compensationHandler;
054:
055:            //**************************************************/
056:            // c'tors
057:            //**************************************************/
058:
059:            public InvokeImpl() {
060:                this (null);
061:            }
062:
063:            /**
064:             * @param standardAttributes
065:             */
066:            public InvokeImpl(StandardAttributes standardAttributes) {
067:                this (standardAttributes, null, null, null, null, null);
068:            }
069:
070:            /**
071:             * @param standardAttributes
072:             * @param partnerLink2
073:             * @param portType2
074:             * @param operation2
075:             * @param inVariable
076:             * @param outVariable
077:             */
078:            public InvokeImpl(StandardAttributes standardAttributes,
079:                    PartnerLink partnerLink, QName portType, String operation,
080:                    Variable inVariable, Variable outVariable) {
081:
082:                super (standardAttributes);
083:
084:                init();
085:
086:                this .partnerLink = partnerLink;
087:                this .portType = portType;
088:                this .operation = operation;
089:                this .inVariable = inVariable;
090:                this .outVariable = outVariable;
091:            }
092:
093:            private void init() {
094:                catchFaults = new ArrayList();
095:            }
096:
097:            //**************************************************/
098:            // bexee.model.activity.Invoke
099:            //**************************************************/
100:
101:            public void setPartnerLink(PartnerLink partnerLink) {
102:                this .partnerLink = partnerLink;
103:            }
104:
105:            public PartnerLink getPartnerLink() {
106:                return partnerLink;
107:            }
108:
109:            public void setPortType(QName portType) {
110:                this .portType = portType;
111:            }
112:
113:            public QName getPortType() {
114:                return portType;
115:            }
116:
117:            public void setOperation(String operation) {
118:                this .operation = operation;
119:            }
120:
121:            public String getOperation() {
122:                return operation;
123:            }
124:
125:            public void setInputVariable(Variable inputVariable) {
126:                this .inVariable = inputVariable;
127:            }
128:
129:            public Variable getInputVariable() {
130:                return inVariable;
131:            }
132:
133:            public void setOutputVariable(Variable outputVariable) {
134:                this .outVariable = outputVariable;
135:            }
136:
137:            public Variable getOutputVariable() {
138:                return outVariable;
139:            }
140:
141:            public void setCorrelations(Correlations correlations) {
142:                this .correlations = correlations;
143:            }
144:
145:            public Correlations getCorrelations() {
146:                return correlations;
147:            }
148:
149:            public void addCatchFault(CatchFault catchFault) {
150:                catchFaults.add(catchFault);
151:            }
152:
153:            public void setCatchFaults(List catchFaults) {
154:                this .catchFaults = catchFaults;
155:            }
156:
157:            public List getCatchFaults() {
158:                return catchFaults;
159:            }
160:
161:            public void setCatchAll(CatchAll catchAll) {
162:                this .catchAll = catchAll;
163:            }
164:
165:            public CatchAll getCatchAll() {
166:                return catchAll;
167:            }
168:
169:            public void setCompensationHandler(
170:                    CompensationHandler compensationHandler) {
171:                this .compensationHandler = compensationHandler;
172:            }
173:
174:            public CompensationHandler getCompensationHandler() {
175:                return compensationHandler;
176:            }
177:
178:            public boolean isSynchronous() {
179:                return (outVariable != null);
180:            }
181:
182:            //**************************************************/
183:            // bexee.core.BPELElement
184:            //**************************************************/
185:
186:            public void accept(ProcessController controller,
187:                    ProcessInstance instance) throws Exception {
188:                controller.process(this , instance);
189:            }
190:
191:            public void accept(BPELElementVisitor elementVisitor) {
192:                elementVisitor.visit(this);
193:            }
194:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.