|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
javax.xml.ws Annotation Type ResponseWrapper
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface ResponseWrapper
Implements:
Annotation
@Target(value=METHOD)@Retention(value=RUNTIME)
@Documented
此类通过将在运行时使用的响应包装器 bean 注释服务端点接口中的方法。正如附加了 Response 的 WebMethod 注释中所定义的,localName 的默认值是 operationName;targetNamespace 是 SEI 的目标名称空间。
当从 Java 中启动时,此注释用来解决文档字面值模式中的重载冲突。在此情况下只需要 className。
since | JAX-WS 2.0 |
See also | javax.jws.WebMethod |
Used to annotate methods in the Service Endpoint Interface with the response wrapper bean to be used at runtime. The default value of the localName is the operationName as defined in WebMethod annotation appended with Response 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.
- Since:
- JAX-WS 2.0
- See Also:
WebMethod
Optional Element Summary | |
---|---|
String |
className
Response wrapper bean name. |
String |
localName
Elements local name. |
String |
targetNamespace
Elements namespace name. |
abstract public String
localName()
元素本地名称。
英文文档:
localName
public abstract String localName
- Elements local name.
- Default:
- ""
abstract public String
targetNamespace()
元素名称空间名称。
英文文档:
targetNamespace
public abstract String targetNamespace
- Elements namespace name.
- Default:
- ""
abstract public String
className()
响应包装器 bean 名称。
英文文档:
className
public abstract String className
- Response wrapper bean name.
- Default:
- ""
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!