01: /*
02: * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
03: * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
04: */
05:
06: package javax.xml.ws;
07:
08: import java.lang.annotation.Documented;
09: import java.lang.annotation.ElementType;
10: import java.lang.annotation.Retention;
11: import java.lang.annotation.RetentionPolicy;
12: import java.lang.annotation.Target;
13:
14: /**
15: * The <code>FaultAction</code> annotation is used inside an {@link Action}
16: * annotation to allow an explicit association of a WS-Addressing
17: * <code>Action</code> message addressing property with the <code>fault</code>
18: * messages of the WSDL operation mapped from the exception class.
19: * <p>
20: * In this version of JAX-WS there is no standard way to specify
21: * <code>Action</code> values in a WSDL and there is no standard default value. It is intended that,
22: * after the W3C WG on WS-Addressing has defined these items in a recommendation,
23: * a future version of JAX-WS will require the new standards.
24: *
25: * @see Action
26: *
27: * @since JAX-WS 2.1
28: */
29:
30: @Documented
31: @Retention(RetentionPolicy.RUNTIME)
32: @Target(ElementType.METHOD)
33: public @interface FaultAction {
34: /**
35: * Name of the exception class
36: */
37: Class className();
38:
39: /**
40: * Value of WS-Addressing <code>Action</code> message addressing property for the exception
41: */
42: String value() default "";
43: }
|