RequestWrapper (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.xml.ws Annotation Type RequestWrapper


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
public @interface RequestWrapper

Used to annotate methods in the Service Endpoint Interface with the request wrapper bean to be used at runtime. The default value of the localName is the operationName, as defined in WebMethod annotation and the targetNamespace is the target namespace of the SEI.

When starting from Java this annotation is used resolve overloading conflicts in document literal mode. Only the className is required in this case.

从以下版本开始:
JAX-WS 2.0
另请参见:
WebMethod

Optional Element Summary
 String className
          Request wrapper bean name.
 String localName
          Elements local name.
 String targetNamespace
          Elements namespace name.
 

localName

public abstract String localName
Elements local name.

默认值:
""

targetNamespace

public abstract String targetNamespace
Elements namespace name.

默认值:
""

className

public abstract String className
Request wrapper bean name.

默认值:
""

Java EE 5 SDK

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


提交错误或意见

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