1 package org.andromda.cartridges.spring.metafacades;
2
3
4
5
6
7
8
9 public class SpringGlobals
10 {
11
12
13
14 static public final String HIBERNATE_MAPPING_STRATEGY = "hibernateMappingStrategy";
15
16
17
18
19 static public final String HIBERNATE_MAPPING_STRATEGY_SUBCLASS = "subclass";
20
21
22
23
24 static public final String HIBERNATE_MAPPING_STRATEGY_HIERARCHY = "hierarchy";
25
26
27
28
29 static final String IMPLEMENTATION_SUFFIX = "Impl";
30
31
32
33
34 static final String EJB_IMPLEMENTATION_SUFFIX = "Bean";
35
36
37
38
39 static final String SERVICE_BASE_SUFFIX = "Base";
40
41
42
43
44 static final String BEAN_NAME_PREFIX = "beanNamePrefix";
45
46
47
48
49 static final String BEAN_NAME_TARGET_SUFFIX = "Target";
50
51
52
53
54 static final String WEB_SERVICE_DELEGATOR_SUFFIX = "WSDelegator";
55
56
57
58
59 static final String TRANSFORMATION_METHOD_PREFIX = "to";
60
61
62
63
64 static final String TRANSFORMATION_TO_COLLECTION_METHOD_SUFFIX = "Collection";
65
66
67
68
69 static final String TRANSFORMATION_TO_ARRAY_METHOD_SUFFIX = "Array";
70
71
72
73
74 static final String TRANSFORMATION_CONSTANT_PREFIX = "TRANSFORM_";
75
76
77
78
79 static final String IMPLEMENTATION_OPERATION_NAME_PATTERN = "implementationOperationNamePattern";
80
81
82
83
84 static final String IMPLEMENTATION_PACKAGE_NAME_PATTERN = "implementationPackageNamePattern";
85
86
87
88
89 static final String DAO_BASE_PATTERN = "daoBaseNamePattern";
90
91
92
93
94 static final String DAO_PATTERN = "daoNamePattern";
95
96
97
98
99 static final String DAO_IMPLEMENTATION_PATTERN = "daoImplementationNamePattern";
100
101
102
103
104 static final String EJB_TRANSACTIONS_ENABLED = "ejbTransactionsEnabled";
105
106
107
108
109 static final String WEBSERVICE_OUTGOING_ATTACHMENT_HANDLER_CALL_PATTERN = "webServiceOutgoingAttachmentHandlerCallPattern";
110
111
112
113
114 static final String WEBSERVICE_INCOMING_ATTACHMENT_HANDLER_CALL_PATTERN = "webServiceIncomingAttachmentHandlerCallPattern";
115
116
117
118
119 static final String REMOTING_PROTOCOL_RMI = "rmi";
120
121
122
123
124 static final String REMOTING_PROTOCOL_HESSIAN = "hessian";
125
126
127
128
129 static final String REMOTING_PROTOCOL_HTTPINVOKER = "httpinvoker";
130
131
132
133
134 static final String REMOTING_PROTOCOL_LINGO = "lingo";
135
136
137
138
139 static final String REMOTING_PROTOCOL_NONE = "none";
140
141
142
143
144 static final String REMOTING_PROTOCOL_BURLAP = "burlap";
145
146
147
148
149 static final String CRUD_VALUE_OBJECT_SUFFIX = "crudValueObjectSuffix";
150
151
152
153
154 public static final String CONFIG_PROPERTY_PREFIX = "configPropertyPrefix";
155
156
157
158
159 static final String DEFAULT_SERVICE_EXCEPTION_NAME_PATTERN = "defaultServiceExceptionNamePattern";
160
161
162
163
164 static final String DEFAULT_SERVICE_EXCEPTIONS = "defaultServiceExceptions";
165
166
167
168
169 static final String JMS_DESTINATION_TEMPLATE_PATTERN = "jmsDestinationTemplatePattern";
170
171
172
173
174 static final String RICH_CLIENT = "richClient";
175
176
177
178
179 static final String EJB_PACKAGE_NAME_PATTERN = "ejbPackageNamePattern";
180
181
182
183
184 static final String EJB_JNDI_NAME_PREFIX = "ejbJndiNamePrefix";
185
186
187
188
189 static final String SERVICE_INTERCEPTORS = "serviceInterceptors";
190
191
192
193
194 static final String SERVICE_REMOTING_TYPE = "serviceRemotingType";
195
196
197
198
199 static final String SERVICE_REMOTE_SERVER = "serviceRemoteServer";
200
201
202
203
204 static final String SERVICE_REMOTE_PORT = "serviceRemotePort";
205
206
207
208
209 static final String SERVICE_REMOTE_CONTEXT = "serviceRemoteContext";
210
211
212
213
214 static public final String HIBERNATE_XML_PERSISTENCE = "hibernateXMLPersistence";
215
216
217
218
219
220 static final String HIBERNATE_XML_PERSISTENCE_ID_AS_ATTRIBUTE = "hibernateXMLPersistIDAsAttribute";
221
222
223
224
225 static public final String HIBERNATE_VERSION = "hibernateVersion";
226
227
228
229
230 public static final String HIBERNATE_VERSION_2 = "2";
231
232
233
234
235 public static final String HIBERNATE_VERSION_3 = "3";
236
237
238
239
240 public static final String HIBERNATE_VERSION_4 = "4";
241
242
243
244
245 public static String[] jmsMessageTypes = new String[] {
246 "javax.jms.Message",
247 "javax.jms.MapMessage",
248 "javax.jms.TextMessage",
249 "javax.jms.StreamMessage",
250 "javax.jms.BytesMessage",
251 "javax.jms.ObjectMessage"
252 };
253 }