BindingType (Java EE 5)

Java EE API


javax.xml.ws Annotation Type BindingType


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

Implements: Annotation
@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented

BindingType 注释用于指定 Web 服务端点实现类所使用的绑定。

根据所使用的平台,可以以编程方式或通过部署描述符重写此注释。

英文文档:

The BindingType annotation is used to specify the binding to use for a web service endpoint implementation class.

This annotation may be overriden programmatically or via deployment descriptors, depending on the platform in use.

Since:
JAX-WS 2.0

Optional Element Summary
 String
 

abstract public String value()
绑定标识符 (URI)。如果未指定,则默认值为 SOAP 1.1 / HTTP 绑定。

有关标准绑定标识符的定义,请参阅 SOAPBindingHTTPBinding

See also javax.xml.ws.Binding, SOAP11HTTP_BINDING, SOAP12HTTP_BINDING, HTTP_BINDING

英文文档:

value

public abstract String value
A binding identifier (a URI). If not specified, the default is the SOAP 1.1 / HTTP binding.

See the SOAPBinding and HTTPBinding for the definition of the standard binding identifiers.

See Also:
Binding, SOAPBinding.SOAP11HTTP_BINDING, SOAPBinding.SOAP12HTTP_BINDING, HTTPBinding.HTTP_BINDING
Default:
""


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!