KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > bpel > xml > BpelConstants


1 package org.jbpm.bpel.xml;
2
3 /**
4  * @author Juan Cantú
5  * @version $Revision: 1.11 $ $Date: 2005/06/23 20:27:17 $
6  */

7 public class BpelConstants {
8   
9   // namespaces
10
public static final String JavaDoc NS_BPWS = "http://schemas.xmlsoap.org/ws/2004/03/business-process/";
11   public static final String JavaDoc NS_BPWS_1_1 = "http://schemas.xmlsoap.org/ws/2003/03/business-process/";
12   public static final String JavaDoc NS_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
13   public static final String JavaDoc NS_XMLNS = "http://www.w3.org/2000/xmlns/";
14   public static final String JavaDoc NS_VENDOR = "http://jbpm.org/bpel";
15   public static final String JavaDoc NS_EXAMPLES = "http://jbpm.org/bpel/examples";
16   
17   public static final String JavaDoc URN_XPATH_1_0 = "urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0";
18   
19   public static final String JavaDoc YES = "yes";
20   public static final String JavaDoc NO = "no";
21   
22   //process
23
public static final String JavaDoc ATTR_NAME = "name";
24   public static final String JavaDoc ATTR_TARGET_NAMESPACE = "targetNamespace";
25   public static final String JavaDoc ELEM_IMPORT = "import";
26   public static final String JavaDoc ATTR_EXPRESSION_LANGUAGE = "expressionLanguage";
27   public static final String JavaDoc ATTR_QUERY_LANGUAGE = "queryLanguage";
28   public static final String JavaDoc ATTR_ABSTRACT_PROCESS = "abstractProcess";
29   public static final String JavaDoc ATTR_INSTANCE_COMPENSATION = "enableInstanceCompensation";
30   
31   //import
32
public static final String JavaDoc ATTR_NAMESPACE = "namespace";
33   public static final String JavaDoc ATTR_LOCATION = "location";
34   public static final String JavaDoc ATTR_IMPORT_TYPE = "importType";
35   
36   //activity
37
public static final String JavaDoc ATTR_SUPPRESS_JOIN_FAILURE = "suppressJoinFailure";
38   public static final String JavaDoc ATTR_LINK_NAME = "linkName";
39   public static final String JavaDoc ELEM_SOURCES = "sources";
40   public static final String JavaDoc ELEM_SOURCE = "source";
41   public static final String JavaDoc ELEM_TRANSITION_CONDITION = "transitionCondition";
42   public static final String JavaDoc ELEM_TARGETS = "targets";
43   public static final String JavaDoc ELEM_JOIN_CONDITION = "joinCondition";
44   public static final String JavaDoc ELEM_TARGET = "target";
45   
46   //scope
47
public static final String JavaDoc ELEM_SCOPE= "scope";
48   public static final String JavaDoc ATTR_ISOLATED = "isolated";
49   public static final String JavaDoc ELEM_COMPENSATION_HANDLER = "compensationHandler";
50   public static final String JavaDoc ELEM_TERMINATION_HANDLER = "terminationHandler";
51   public static final String JavaDoc ELEM_FAULT_HANDLERS = "faultHandlers";
52   public static final String JavaDoc ELEM_CATCH_ALL = "catchAll";
53   public static final String JavaDoc ELEM_EVENT_HANDLERS = "eventHandlers";
54   public static final String JavaDoc ELEM_ON_EVENT = "onEvent";
55   public static final String JavaDoc ELEM_CATCH = "catch";
56   public static final String JavaDoc ATTR_FAULT_NAME = "faultName";
57   public static final String JavaDoc ATTR_FAULT_VARIABLE = "faultVariable";
58   public static final String JavaDoc ATTR_FAULT_MESSAGE_TYPE = "faultMessageType";
59   public static final String JavaDoc ATTR_FAULT_ELEMENT = "faultElement";
60   public static final String JavaDoc ELEM_VARIABLES = "variables";
61   public static final String JavaDoc ELEM_VARIABLE = "variable";
62   public static final String JavaDoc ATTR_TYPE = "type";
63   public static final String JavaDoc ATTR_MESSAGE_TYPE = "messageType";
64   public static final String JavaDoc ATTR_ELEMENT = "element";
65   public static final String JavaDoc ELEM_PARTNER_LINKS = "partnerLinks";
66   public static final String JavaDoc ELEM_PARTNER_LINK = "partnerLink";
67   public static final String JavaDoc ATTR_PARTNER_LINK_TYPE = "partnerLinkType";
68   public static final String JavaDoc ATTR_MY_ROLE = "myRole";
69   public static final String JavaDoc ATTR_PARTNER_ROLE = "partnerRole";
70   public static final String JavaDoc ELEM_CORRELATION_SETS = "correlationSets";
71   public static final String JavaDoc ELEM_CORRELATION_SET = "correlationSet";
72   public static final String JavaDoc ATTR_PROPERTIES = "properties";
73   
74   //empty
75
public static final String JavaDoc ELEM_EMPTY = "empty";
76   
77   //flow
78
public static final String JavaDoc ELEM_FLOW = "flow";
79   public static final String JavaDoc ELEM_LINKS = "links";
80   public static final String JavaDoc ELEM_LINK = "link";
81   
82   //while
83
public static final String JavaDoc ELEM_WHILE = "while";
84   public static final String JavaDoc ELEM_CONDITION = "condition";
85   
86   //switch
87
public static final String JavaDoc ELEM_SWITCH = "switch";
88   public static final String JavaDoc ELEM_CASE = "case";
89   public static final String JavaDoc ELEM_OTHERWISE = "otherwise";
90
91   //service activities
92
public static final String JavaDoc ATTR_PARTNER_LINK = "partnerLink";
93   public static final String JavaDoc ATTR_OPERATION = "operation";
94   public static final String JavaDoc ATTR_PORT_TYPE = "portType";
95   public static final String JavaDoc ELEM_CORRELATIONS = "correlations";
96   public static final String JavaDoc ELEM_CORRELATION = "correlation";
97   public static final String JavaDoc ATTR_SET = "set";
98   public static final String JavaDoc ATTR_INITIATE = "initiate";
99   public static final String JavaDoc ATTR_VARIABLE = "variable";
100   
101   // service reference
102
public static final String JavaDoc ELEM_SERVICE_REF = "service-ref";
103   public static final String JavaDoc ATTR_REFERENCE_SCHEME = "reference-scheme";
104   
105   //invoke
106
public static final String JavaDoc ELEM_INVOKE = "invoke";
107   public static final String JavaDoc ATTR_INPUT_VARIABLE = "inputVariable";
108   public static final String JavaDoc ATTR_OUTPUT_VARIABLE = "outputVariable";
109   public static final String JavaDoc ATTR_PATTERN = "pattern";
110
111   //receive
112
public static final String JavaDoc ELEM_RECEIVE = "receive";
113   public static final String JavaDoc ATTR_CREATE_INSTANCE = "createInstance";
114   public static final String JavaDoc ATTR_MESSAGE_EXCHANGE = "messageExchange";
115   
116   //reply
117
public static final String JavaDoc ELEM_REPLY= "reply";
118   
119   //wait
120
public static final String JavaDoc ELEM_WAIT= "wait";
121   public static final String JavaDoc ELEM_FOR = "for";
122   public static final String JavaDoc ELEM_UNTIL = "until";
123   public static final String JavaDoc ELEM_REPEAT = "repeatEvery";
124   
125   //pick
126
public static final String JavaDoc ELEM_PICK= "pick";
127   public static final String JavaDoc ELEM_ON_MESSAGE = "onMessage";
128   public static final String JavaDoc ELEM_ON_ALARM = "onAlarm";
129   
130   //compensate
131
public static final String JavaDoc ELEM_COMPENSATE= "compensate";
132   public static final String JavaDoc ATTR_SCOPE = "scope";
133   
134   //assign
135
public static final String JavaDoc ELEM_ASSIGN= "assign";
136   public static final String JavaDoc ELEM_COPY = "copy";
137   public static final String JavaDoc ELEM_FROM = "from";
138   public static final String JavaDoc ELEM_TO = "to";
139   public static final String JavaDoc ATTR_EXPRESSION = "expression";
140   public static final String JavaDoc ATTR_PART = "part";
141   public static final String JavaDoc ATTR_QUERY = "query";
142   public static final String JavaDoc ATTR_PROPERTY = "property";
143   public static final String JavaDoc ATTR_ENDPOINT_REFERENCE = "endpointReference";
144   public static final String JavaDoc ATTR_LITERAL = "literal";
145   
146   // other activities
147
public static final String JavaDoc ELEM_SEQUENCE = "sequence";
148   public static final String JavaDoc ELEM_THROW = "throw";
149   public static final String JavaDoc ELEM_RETHROW = "rethrow";
150   public static final String JavaDoc ELEM_EXIT = "exit";
151   public static final String JavaDoc ELEM_VALIDATE = "validate";
152   
153   // application descriptor
154
public static final String JavaDoc ELEM_SCOPES = "scopes";
155   public static final String JavaDoc ELEM_CONNECTION_FACTORY = "connectionFactory";
156   public static final String JavaDoc ELEM_DESTINATION = "destination";
157   public static final String JavaDoc ELEM_NAMING_CONTEXT = "namingContext";
158
159   // definition descriptor
160
public static final String JavaDoc ELEM_IMPORTS = "imports";
161   public static final String JavaDoc ELEM_WSDL = "wsdl";
162   public static final String JavaDoc ELEM_XML_SCHEMA = "schema";
163   
164   public static String JavaDoc[] BPEL_2_ACTIVITIES = {
165     ELEM_EMPTY,
166     ELEM_RECEIVE,
167     ELEM_REPLY,
168     ELEM_INVOKE,
169     ELEM_ASSIGN,
170     ELEM_THROW,
171     ELEM_EXIT,
172     ELEM_WAIT,
173     ELEM_SEQUENCE,
174     ELEM_SWITCH,
175     ELEM_WHILE,
176     ELEM_PICK,
177     ELEM_FLOW,
178     ELEM_SCOPE,
179     ELEM_COMPENSATE,
180     ELEM_RETHROW,
181     ELEM_VALIDATE
182   };
183   
184   // suppress default constructor, ensuring non-instantiability
185
private BpelConstants() {
186   }
187 }
188
Popular Tags