Source Code Cross Referenced for ModelerMessages.java in  » 6.0-JDK-Modules » jax-ws-runtime » com » sun » xml » ws » resources » 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 » 6.0 JDK Modules » jax ws runtime » com.sun.xml.ws.resources 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.sun.xml.ws.resources;
002:
003:        import com.sun.xml.ws.util.localization.Localizable;
004:        import com.sun.xml.ws.util.localization.LocalizableMessageFactory;
005:        import com.sun.xml.ws.util.localization.Localizer;
006:
007:        /**
008:         * Defines string formatting method for each constant in the resource file
009:         * 
010:         */
011:        public final class ModelerMessages {
012:
013:            private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
014:                    "com.sun.xml.ws.resources.modeler");
015:            private final static Localizer localizer = new Localizer();
016:
017:            public static Localizable localizableNESTED_MODELER_ERROR(
018:                    Object arg0) {
019:                return messageFactory.getMessage("nestedModelerError", arg0);
020:            }
021:
022:            /**
023:             * runtime modeler error: {0}
024:             * 
025:             */
026:            public static String NESTED_MODELER_ERROR(Object arg0) {
027:                return localizer
028:                        .localize(localizableNESTED_MODELER_ERROR(arg0));
029:            }
030:
031:            public static Localizable localizableRUNTIME_MODELER_WSFEATURE_NO_FTRCONSTRUCTOR(
032:                    Object arg0, Object arg1) {
033:                return messageFactory.getMessage(
034:                        "runtime.modeler.wsfeature.no.ftrconstructor", arg0,
035:                        arg1);
036:            }
037:
038:            /**
039:             * Annotation {0} is not recognizable, atleast one constructor of {1} should be marked with @FeatureConstructor
040:             * 
041:             */
042:            public static String RUNTIME_MODELER_WSFEATURE_NO_FTRCONSTRUCTOR(
043:                    Object arg0, Object arg1) {
044:                return localizer
045:                        .localize(localizableRUNTIME_MODELER_WSFEATURE_NO_FTRCONSTRUCTOR(
046:                                arg0, arg1));
047:            }
048:
049:            public static Localizable localizableRUNTIME_MODELER_WEBMETHOD_MUST_BE_PUBLIC(
050:                    Object arg0) {
051:                return messageFactory.getMessage(
052:                        "runtime.modeler.webmethod.must.be.public", arg0);
053:            }
054:
055:            /**
056:             * @WebMethod is not allowed on a non-public method {0}
057:             * 
058:             */
059:            public static String RUNTIME_MODELER_WEBMETHOD_MUST_BE_PUBLIC(
060:                    Object arg0) {
061:                return localizer
062:                        .localize(localizableRUNTIME_MODELER_WEBMETHOD_MUST_BE_PUBLIC(arg0));
063:            }
064:
065:            public static Localizable localizableRUNTIME_MODELER_WRAPPER_NOT_FOUND(
066:                    Object arg0) {
067:                return messageFactory.getMessage(
068:                        "runtime.modeler.wrapper.not.found", arg0);
069:            }
070:
071:            /**
072:             * Wrapper class {0} is not found. Have you run APT to generate them?
073:             * 
074:             */
075:            public static String RUNTIME_MODELER_WRAPPER_NOT_FOUND(Object arg0) {
076:                return localizer
077:                        .localize(localizableRUNTIME_MODELER_WRAPPER_NOT_FOUND(arg0));
078:            }
079:
080:            public static Localizable localizableRUNTIME_MODELER_MTOM_CONFLICT(
081:                    Object arg0, Object arg1) {
082:                return messageFactory.getMessage(
083:                        "runtime.modeler.mtom.conflict", arg0, arg1);
084:            }
085:
086:            /**
087:             * Error in  @BindingType: MTOM Configuration in binding identifier {0} conflicts with feature @MTOM {1}
088:             * 
089:             */
090:            public static String RUNTIME_MODELER_MTOM_CONFLICT(Object arg0,
091:                    Object arg1) {
092:                return localizer
093:                        .localize(localizableRUNTIME_MODELER_MTOM_CONFLICT(
094:                                arg0, arg1));
095:            }
096:
097:            public static Localizable localizableRUNTIME_MODELER_FEATURE_CONFLICT(
098:                    Object arg0, Object arg1) {
099:                return messageFactory.getMessage(
100:                        "runtime.modeler.feature.conflict", arg0, arg1);
101:            }
102:
103:            /**
104:             * Feature {0} in implementation conflicts with {1} in WSDL configuration 
105:             * 
106:             */
107:            public static String RUNTIME_MODELER_FEATURE_CONFLICT(Object arg0,
108:                    Object arg1) {
109:                return localizer
110:                        .localize(localizableRUNTIME_MODELER_FEATURE_CONFLICT(
111:                                arg0, arg1));
112:            }
113:
114:            public static Localizable localizableRUNTIME_MODELER_WSFEATURE_MORETHANONE_FTRCONSTRUCTOR(
115:                    Object arg0, Object arg1) {
116:                return messageFactory.getMessage(
117:                        "runtime.modeler.wsfeature.morethanone.ftrconstructor",
118:                        arg0, arg1);
119:            }
120:
121:            /**
122:             * Annotation {0} is illegal, Only one constructor of {1} can be marked as @FeatureConstructor
123:             * 
124:             */
125:            public static String RUNTIME_MODELER_WSFEATURE_MORETHANONE_FTRCONSTRUCTOR(
126:                    Object arg0, Object arg1) {
127:                return localizer
128:                        .localize(localizableRUNTIME_MODELER_WSFEATURE_MORETHANONE_FTRCONSTRUCTOR(
129:                                arg0, arg1));
130:            }
131:
132:            public static Localizable localizableNOT_A_VALID_BARE_METHOD(
133:                    Object arg0, Object arg1) {
134:                return messageFactory.getMessage("not.a.valid.bare.method",
135:                        arg0, arg1);
136:            }
137:
138:            /**
139:             * SEI {0} has method {1} annotated as BARE but it has more than one parameter bound to body. This is invalid. Please annotate the method with annotation: @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
140:             * 
141:             */
142:            public static String NOT_A_VALID_BARE_METHOD(Object arg0,
143:                    Object arg1) {
144:                return localizer.localize(localizableNOT_A_VALID_BARE_METHOD(
145:                        arg0, arg1));
146:            }
147:
148:            public static Localizable localizableRUNTIME_MODELER_NO_PACKAGE(
149:                    Object arg0) {
150:                return messageFactory.getMessage("runtime.modeler.no.package",
151:                        arg0);
152:            }
153:
154:            /**
155:             * A @WebService.targetNamespace must be specified on classes with no package.  Class: {0}
156:             * 
157:             */
158:            public static String RUNTIME_MODELER_NO_PACKAGE(Object arg0) {
159:                return localizer
160:                        .localize(localizableRUNTIME_MODELER_NO_PACKAGE(arg0));
161:            }
162:
163:            public static Localizable localizableRUNTIME_MODELER_NO_WEBSERVICE_ANNOTATION(
164:                    Object arg0) {
165:                return messageFactory.getMessage(
166:                        "runtime.modeler.no.webservice.annotation", arg0);
167:            }
168:
169:            /**
170:             * A WebService annotation is not present on class: {0}
171:             * 
172:             */
173:            public static String RUNTIME_MODELER_NO_WEBSERVICE_ANNOTATION(
174:                    Object arg0) {
175:                return localizer
176:                        .localize(localizableRUNTIME_MODELER_NO_WEBSERVICE_ANNOTATION(arg0));
177:            }
178:
179:            public static Localizable localizableRUNTIME_MODELER_ONEWAY_OPERATION_NO_OUT_PARAMETERS(
180:                    Object arg0, Object arg1) {
181:                return messageFactory.getMessage(
182:                        "runtime.modeler.oneway.operation.no.out.parameters",
183:                        arg0, arg1);
184:            }
185:
186:            /**
187:             * oneway operation should not have out parameters class: {0} method: {1}
188:             * 
189:             */
190:            public static String RUNTIME_MODELER_ONEWAY_OPERATION_NO_OUT_PARAMETERS(
191:                    Object arg0, Object arg1) {
192:                return localizer
193:                        .localize(localizableRUNTIME_MODELER_ONEWAY_OPERATION_NO_OUT_PARAMETERS(
194:                                arg0, arg1));
195:            }
196:
197:            public static Localizable localizableUNABLE_TO_CREATE_JAXB_CONTEXT() {
198:                return messageFactory
199:                        .getMessage("unable.to.create.JAXBContext");
200:            }
201:
202:            /**
203:             * Unable to create JAXBContext
204:             * 
205:             */
206:            public static String UNABLE_TO_CREATE_JAXB_CONTEXT() {
207:                return localizer
208:                        .localize(localizableUNABLE_TO_CREATE_JAXB_CONTEXT());
209:            }
210:
211:            public static Localizable localizableRUNTIME_MODELER_NO_OPERATIONS(
212:                    Object arg0) {
213:                return messageFactory.getMessage(
214:                        "runtime.modeler.no.operations", arg0);
215:            }
216:
217:            /**
218:             * The web service defined by the class {0} does not contain any valid WebMethods.
219:             * 
220:             */
221:            public static String RUNTIME_MODELER_NO_OPERATIONS(Object arg0) {
222:                return localizer
223:                        .localize(localizableRUNTIME_MODELER_NO_OPERATIONS(arg0));
224:            }
225:
226:            public static Localizable localizableRUNTIME_MODELER_WEBMETHOD_MUST_BE_NONSTATIC(
227:                    Object arg0) {
228:                return messageFactory.getMessage(
229:                        "runtime.modeler.webmethod.must.be.nonstatic", arg0);
230:            }
231:
232:            /**
233:             * @WebMethod is not allowed on a static method {0}  
234:             * 
235:             */
236:            public static String RUNTIME_MODELER_WEBMETHOD_MUST_BE_NONSTATIC(
237:                    Object arg0) {
238:                return localizer
239:                        .localize(localizableRUNTIME_MODELER_WEBMETHOD_MUST_BE_NONSTATIC(arg0));
240:            }
241:
242:            public static Localizable localizableRUNTIME_MODELER_METHOD_NOT_FOUND(
243:                    Object arg0, Object arg1) {
244:                return messageFactory.getMessage(
245:                        "runtime.modeler.method.not.found", arg0, arg1);
246:            }
247:
248:            /**
249:             * method: {0} could not be found on class: {1}
250:             * 
251:             */
252:            public static String RUNTIME_MODELER_METHOD_NOT_FOUND(Object arg0,
253:                    Object arg1) {
254:                return localizer
255:                        .localize(localizableRUNTIME_MODELER_METHOD_NOT_FOUND(
256:                                arg0, arg1));
257:            }
258:
259:            public static Localizable localizableRUNTIME_MODELER_CLASS_NOT_FOUND(
260:                    Object arg0) {
261:                return messageFactory.getMessage(
262:                        "runtime.modeler.class.not.found", arg0);
263:            }
264:
265:            /**
266:             * class: {0} could not be found
267:             * 
268:             */
269:            public static String RUNTIME_MODELER_CLASS_NOT_FOUND(Object arg0) {
270:                return localizer
271:                        .localize(localizableRUNTIME_MODELER_CLASS_NOT_FOUND(arg0));
272:            }
273:
274:            public static Localizable localizableRUNTIME_MODELER_CANNOT_GET_SERVICE_NAME_FROM_INTERFACE(
275:                    Object arg0) {
276:                return messageFactory
277:                        .getMessage(
278:                                "runtime.modeler.cannot.get.serviceName.from.interface",
279:                                arg0);
280:            }
281:
282:            /**
283:             * The serviceName cannot be retrieved from an interface.  class {0}
284:             * 
285:             */
286:            public static String RUNTIME_MODELER_CANNOT_GET_SERVICE_NAME_FROM_INTERFACE(
287:                    Object arg0) {
288:                return localizer
289:                        .localize(localizableRUNTIME_MODELER_CANNOT_GET_SERVICE_NAME_FROM_INTERFACE(arg0));
290:            }
291:
292:            public static Localizable localizableRUNTIME_MODELER_ENDPOINT_INTERFACE_NO_WEBSERVICE(
293:                    Object arg0) {
294:                return messageFactory.getMessage(
295:                        "runtime.modeler.endpoint.interface.no.webservice",
296:                        arg0);
297:            }
298:
299:            /**
300:             * The Endpoint Interface: {0} does not have WebService Annotation
301:             * 
302:             */
303:            public static String RUNTIME_MODELER_ENDPOINT_INTERFACE_NO_WEBSERVICE(
304:                    Object arg0) {
305:                return localizer
306:                        .localize(localizableRUNTIME_MODELER_ENDPOINT_INTERFACE_NO_WEBSERVICE(arg0));
307:            }
308:
309:            public static Localizable localizableRUNTIME_MODELER_PORTNAME_SERVICENAME_NAMESPACE_MISMATCH(
310:                    Object arg0, Object arg1) {
311:                return messageFactory
312:                        .getMessage(
313:                                "runtime.modeler.portname.servicename.namespace.mismatch",
314:                                arg0, arg1);
315:            }
316:
317:            /**
318:             * The namespace of the serviceName "{0}" and the namespace of the portName "{1}" must match
319:             * 
320:             */
321:            public static String RUNTIME_MODELER_PORTNAME_SERVICENAME_NAMESPACE_MISMATCH(
322:                    Object arg0, Object arg1) {
323:                return localizer
324:                        .localize(localizableRUNTIME_MODELER_PORTNAME_SERVICENAME_NAMESPACE_MISMATCH(
325:                                arg0, arg1));
326:            }
327:
328:            public static Localizable localizableRUNTIME_MODELER_WSFEATURE_ILLEGAL_FTRCONSTRUCTOR(
329:                    Object arg0, Object arg1) {
330:                return messageFactory.getMessage(
331:                        "runtime.modeler.wsfeature.illegal.ftrconstructor",
332:                        arg0, arg1);
333:            }
334:
335:            /**
336:             * Annotation {0} is illegal, In {1} @FeatureConstructor value does n't match the constructor parameters
337:             * 
338:             */
339:            public static String RUNTIME_MODELER_WSFEATURE_ILLEGAL_FTRCONSTRUCTOR(
340:                    Object arg0, Object arg1) {
341:                return localizer
342:                        .localize(localizableRUNTIME_MODELER_WSFEATURE_ILLEGAL_FTRCONSTRUCTOR(
343:                                arg0, arg1));
344:            }
345:
346:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.