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.tools.internal.ws.resources; |
26 package com.sun.tools.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 * |
211 public static Localizable localizableINVOKER_NEED_ENDORSED(Object arg0, Object arg1) { |
210 public static Localizable localizableINVOKER_NEED_ENDORSED(Object arg0, Object arg1) { |
212 return messageFactory.getMessage("invoker.needEndorsed", arg0, arg1); |
211 return messageFactory.getMessage("invoker.needEndorsed", arg0, arg1); |
213 } |
212 } |
214 |
213 |
215 /** |
214 /** |
216 * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or use -Xendorsed option. |
215 * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or use -Xendorsed option. |
217 * |
216 * |
218 */ |
217 */ |
219 public static String INVOKER_NEED_ENDORSED(Object arg0, Object arg1) { |
218 public static String INVOKER_NEED_ENDORSED(Object arg0, Object arg1) { |
220 return localizer.localize(localizableINVOKER_NEED_ENDORSED(arg0, arg1)); |
219 return localizer.localize(localizableINVOKER_NEED_ENDORSED(arg0, arg1)); |
221 } |
220 } |
329 * -extension allow vendor extensions - functionality not specified |
328 * -extension allow vendor extensions - functionality not specified |
330 * by the specification. Use of extensions may |
329 * by the specification. Use of extensions may |
331 * result in applications that are not portable or |
330 * result in applications that are not portable or |
332 * may not interoperate with other implementations |
331 * may not interoperate with other implementations |
333 * -help display help |
332 * -help display help |
334 * -httpproxy:<host>:<port> specify a HTTP proxy server (port defaults to 8080) |
333 * -httpproxy:<proxy> set a HTTP proxy. Format is [user[:password]@]proxyHost:proxyPort |
|
334 * (port defaults to 8080) |
335 * -keep keep generated files |
335 * -keep keep generated files |
336 * -p <pkg> specifies the target package |
336 * -p <pkg> specifies the target package |
337 * -quiet suppress wsimport output |
337 * -quiet suppress wsimport output |
338 * -s <directory> specify where to place generated source files |
338 * -s <directory> specify where to place generated source files |
339 * -target <version> generate code as per the given JAXWS spec version |
339 * -target <version> generate code as per the given JAXWS spec version |
566 public static Localizable localizableWRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) { |
566 public static Localizable localizableWRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) { |
567 return messageFactory.getMessage("wrapperTask.needEndorsed", arg0, arg1, arg2); |
567 return messageFactory.getMessage("wrapperTask.needEndorsed", arg0, arg1, arg2); |
568 } |
568 } |
569 |
569 |
570 /** |
570 /** |
571 * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <{2}>. |
571 * You are running on JDK6 which comes with JAX-WS {0} API, but this tool requires JAX-WS {1} API. Use the endorsed standards override mechanism (http://docs.oracle.com/javase/6/docs/technotes/guides/standards/), or set xendorsed="true" on <{2}>. |
572 * |
572 * |
573 */ |
573 */ |
574 public static String WRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) { |
574 public static String WRAPPER_TASK_NEED_ENDORSED(Object arg0, Object arg1, Object arg2) { |
575 return localizer.localize(localizableWRAPPER_TASK_NEED_ENDORSED(arg0, arg1, arg2)); |
575 return localizer.localize(localizableWRAPPER_TASK_NEED_ENDORSED(arg0, arg1, arg2)); |
576 } |
576 } |
908 */ |
908 */ |
909 public static String WSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) { |
909 public static String WSIMPORT_ILLEGAL_TARGET_VERSION(Object arg0) { |
910 return localizer.localize(localizableWSIMPORT_ILLEGAL_TARGET_VERSION(arg0)); |
910 return localizer.localize(localizableWSIMPORT_ILLEGAL_TARGET_VERSION(arg0)); |
911 } |
911 } |
912 |
912 |
|
913 public static Localizable localizableWSIMPORT_ILLEGAL_PROXY(Object arg0) { |
|
914 return messageFactory.getMessage("wsimport.ILLEGAL_PROXY", arg0); |
|
915 } |
|
916 |
|
917 /** |
|
918 * "{0}" is not a valid proxy format. The format is [user[:password]@]proxyHost:proxyPort |
|
919 * |
|
920 */ |
|
921 public static String WSIMPORT_ILLEGAL_PROXY(Object arg0) { |
|
922 return localizer.localize(localizableWSIMPORT_ILLEGAL_PROXY(arg0)); |
|
923 } |
|
924 |
913 public static Localizable localizableWSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) { |
925 public static Localizable localizableWSGEN_PORTNAME_MISSING_LOCALNAME(Object arg0) { |
914 return messageFactory.getMessage("wsgen.portname.missing.localname", arg0); |
926 return messageFactory.getMessage("wsgen.portname.missing.localname", arg0); |
915 } |
927 } |
916 |
928 |
917 /** |
929 /** |