1 /* |
1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 * or visit www.oracle.com if you need additional information or have any |
22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 |
|
27 package com.sun.xml.internal.ws.resources; |
26 package com.sun.xml.internal.ws.resources; |
28 |
27 |
29 import com.sun.xml.internal.ws.util.localization.Localizable; |
28 import com.sun.istack.internal.localization.Localizable; |
30 import com.sun.xml.internal.ws.util.localization.LocalizableMessageFactory; |
29 import com.sun.istack.internal.localization.LocalizableMessageFactory; |
31 import com.sun.xml.internal.ws.util.localization.Localizer; |
30 import com.sun.istack.internal.localization.Localizer; |
32 |
31 |
33 |
32 |
34 /** |
33 /** |
35 * Defines string formatting method for each constant in the resource file |
34 * Defines string formatting method for each constant in the resource file |
36 * |
35 * |
230 */ |
229 */ |
231 public static String WSP_1012_FAILED_CONFIGURE_WSDL_MODEL() { |
230 public static String WSP_1012_FAILED_CONFIGURE_WSDL_MODEL() { |
232 return localizer.localize(localizableWSP_1012_FAILED_CONFIGURE_WSDL_MODEL()); |
231 return localizer.localize(localizableWSP_1012_FAILED_CONFIGURE_WSDL_MODEL()); |
233 } |
232 } |
234 |
233 |
|
234 public static Localizable localizableWSP_1021_FAULT_NOT_BOUND(Object arg0) { |
|
235 return messageFactory.getMessage("WSP_1021_FAULT_NOT_BOUND", arg0); |
|
236 } |
|
237 |
|
238 /** |
|
239 * WSP1021: Fault "{0}" not bound. Check names in port and binding definitions. |
|
240 * |
|
241 */ |
|
242 public static String WSP_1021_FAULT_NOT_BOUND(Object arg0) { |
|
243 return localizer.localize(localizableWSP_1021_FAULT_NOT_BOUND(arg0)); |
|
244 } |
|
245 |
235 public static Localizable localizableWSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT(Object arg0) { |
246 public static Localizable localizableWSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT(Object arg0) { |
236 return messageFactory.getMessage("WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT", arg0); |
247 return messageFactory.getMessage("WSP_1011_FAILED_TO_RETRIEVE_EFFECTIVE_POLICY_FOR_SUBJECT", arg0); |
237 } |
248 } |
238 |
249 |
239 /** |
250 /** |