Source Code Cross Referenced for HandlerMessages.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 HandlerMessages {
012:
013:            private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
014:                    "com.sun.xml.ws.resources.handler");
015:            private final static Localizer localizer = new Localizer();
016:
017:            public static Localizable localizableHANDLER_MESSAGE_CONTEXT_INVALID_CLASS(
018:                    Object arg0, Object arg1) {
019:                return messageFactory.getMessage(
020:                        "handler.messageContext.invalid.class", arg0, arg1);
021:            }
022:
023:            /**
024:             * "{0}" is not an allowed value for the property "{1}"
025:             * 
026:             */
027:            public static String HANDLER_MESSAGE_CONTEXT_INVALID_CLASS(
028:                    Object arg0, Object arg1) {
029:                return localizer
030:                        .localize(localizableHANDLER_MESSAGE_CONTEXT_INVALID_CLASS(
031:                                arg0, arg1));
032:            }
033:
034:            public static Localizable localizableCANNOT_EXTEND_HANDLER_DIRECTLY(
035:                    Object arg0) {
036:                return messageFactory.getMessage(
037:                        "cannot.extend.handler.directly", arg0);
038:            }
039:
040:            /**
041:             * Handler {0} must implement LogicalHandler or SOAPHandler.
042:             * 
043:             */
044:            public static String CANNOT_EXTEND_HANDLER_DIRECTLY(Object arg0) {
045:                return localizer
046:                        .localize(localizableCANNOT_EXTEND_HANDLER_DIRECTLY(arg0));
047:            }
048:
049:            public static Localizable localizableHANDLER_NOT_VALID_TYPE(
050:                    Object arg0) {
051:                return messageFactory
052:                        .getMessage("handler.not.valid.type", arg0);
053:            }
054:
055:            /**
056:             * {0} does not implement one of the handler interfaces.
057:             * 
058:             */
059:            public static String HANDLER_NOT_VALID_TYPE(Object arg0) {
060:                return localizer
061:                        .localize(localizableHANDLER_NOT_VALID_TYPE(arg0));
062:            }
063:
064:            public static Localizable localizableCANNOT_INSTANTIATE_HANDLER(
065:                    Object arg0, Object arg1) {
066:                return messageFactory.getMessage("cannot.instantiate.handler",
067:                        arg0, arg1);
068:            }
069:
070:            /**
071:             * Unable to instantiate handler: {0} because: {1}
072:             * 
073:             */
074:            public static String CANNOT_INSTANTIATE_HANDLER(Object arg0,
075:                    Object arg1) {
076:                return localizer
077:                        .localize(localizableCANNOT_INSTANTIATE_HANDLER(arg0,
078:                                arg1));
079:            }
080:
081:            public static Localizable localizableHANDLER_CHAIN_CONTAINS_HANDLER_ONLY(
082:                    Object arg0) {
083:                return messageFactory.getMessage(
084:                        "handler.chain.contains.handler.only", arg0);
085:            }
086:
087:            /**
088:             * A HandlerChain can only contain Handler instances: {0}
089:             * 
090:             */
091:            public static String HANDLER_CHAIN_CONTAINS_HANDLER_ONLY(Object arg0) {
092:                return localizer
093:                        .localize(localizableHANDLER_CHAIN_CONTAINS_HANDLER_ONLY(arg0));
094:            }
095:
096:            public static Localizable localizableHANDLER_NESTED_ERROR(
097:                    Object arg0) {
098:                return messageFactory.getMessage("handler.nestedError", arg0);
099:            }
100:
101:            /**
102:             * handler error: {0}
103:             * 
104:             */
105:            public static String HANDLER_NESTED_ERROR(Object arg0) {
106:                return localizer
107:                        .localize(localizableHANDLER_NESTED_ERROR(arg0));
108:            }
109:
110:            public static Localizable localizableHANDLER_PREDESTROY_IGNORE(
111:                    Object arg0) {
112:                return messageFactory.getMessage("handler.predestroy.ignore",
113:                        arg0);
114:            }
115:
116:            /**
117:             * Exception ignored from invoking handler @PreDestroy method: {0}
118:             * 
119:             */
120:            public static String HANDLER_PREDESTROY_IGNORE(Object arg0) {
121:                return localizer
122:                        .localize(localizableHANDLER_PREDESTROY_IGNORE(arg0));
123:            }
124:
125:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.