@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented public @interface ServiceMode
Provider
实现是否希望使用整个协议消息或仅与协议消息有效载荷一起工作。
Modifier and Type | Optional Element and Description |
---|---|
Service.Mode |
value
服务模式
|
public abstract Service.Mode value
PAYLOAD
表示Provider
只希望与协议消息有效载荷一起使用。
MESSAGE
表示Provider
实现希望使用整个协议消息。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.