Top Description Methods
javax.xml.ws

public @Interface ServiceMode

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
@Inherited
@Documented
Imports
java.lang.annotation.Documented, .Target, .Retention, .ElementType, .RetentionPolicy, .Inherited

Used to indicate whether a Provider implementation wishes to work with entire protocol messages or just with protocol message payloads.
Since
1.6, JAX-WS 2.0

Method Summary

Modifier and TypeMethod and Description
public Service.Mode

Returns:

Service mode.
value
()

Service mode.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Service.Mode value()

Service mode. PAYLOAD indicates that the Provider implementation wishes to work with protocol message payloads only. MESSAGE indicates that the Provider implementation wishes to work with entire protocol messages.

Returns:Service.Mode

Service mode.