WebFault (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.ws Annotation Type WebFault


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface WebFault

Used to annotate service specific exception classes to customize to the local and namespace name of the fault element and the name of the fault bean.

从以下版本开始:
JAX-WS 2.0

Optional Element Summary
 String faultBean
          Fault bean name.
 String name
          Elements local name.
 String targetNamespace
          Elements namespace name.
 

name

public abstract String name
Elements local name.

默认值:
""

targetNamespace

public abstract String targetNamespace
Elements namespace name.

默认值:
""

faultBean

public abstract String faultBean
Fault bean name.

默认值:
""

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.