diff --git a/spring-ws-core/src/main/java/org/springframework/ws/soap/addressing/server/annotation/Action.java b/spring-ws-core/src/main/java/org/springframework/ws/soap/addressing/server/annotation/Action.java index 76c425c9..1b1884d5 100644 --- a/spring-ws-core/src/main/java/org/springframework/ws/soap/addressing/server/annotation/Action.java +++ b/spring-ws-core/src/main/java/org/springframework/ws/soap/addressing/server/annotation/Action.java @@ -23,8 +23,9 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * Marks an endpoint method as the handler for an incoming request. The annotation value signifies the value for the - * request WS-Addressing Action header that is handled by the method. + * Marks an endpoint method as the handler for an incoming request. The annotation value + * signifies the value for the request WS-Addressing {@code Action} header that is + * handled by the method. * * @author Arjen Poutsma * @since 1.5.0 @@ -34,16 +35,22 @@ import java.lang.annotation.Target; @Target(ElementType.METHOD) public @interface Action { - /** Signifies the value for the request WS-Addressing Action header that is handled by the method. */ - String value(); + /** + * Signifies the value for the request WS-Addressing {@code Action} header that + * is handled by the method. + */ + String value(); - /** Signifies the value for the response WS-Addressing Action header that is provided by the method. */ - String output() default ""; + /** + * Signifies the value for the response WS-Addressing {@code Action} header that + * is provided by the method. + */ + String output() default ""; - /** - * Signifies the value for the fault response WS-Addressing Action header that is provided by the - * method. - */ - String fault() default ""; + /** + * Signifies the value for the fault response WS-Addressing {@code Action} header + * that is provided by the method. + */ + String fault() default ""; } diff --git a/spring-ws-core/src/main/java/org/springframework/ws/soap/addressing/server/annotation/Address.java b/spring-ws-core/src/main/java/org/springframework/ws/soap/addressing/server/annotation/Address.java index 8cbad543..623f7d1a 100644 --- a/spring-ws-core/src/main/java/org/springframework/ws/soap/addressing/server/annotation/Address.java +++ b/spring-ws-core/src/main/java/org/springframework/ws/soap/addressing/server/annotation/Address.java @@ -23,9 +23,10 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** - * Marks an endpoint with a WS-Addressing Address. If this annotation is applied, the {@link #value()} is - * compared to the {@link org.springframework.ws.soap.addressing.core.MessageAddressingProperties#getTo() destination} - * property of the incominging message. + * Marks an endpoint with a WS-Addressing {@code Address}. If this annotation is + * applied, the {@linkplain #value() value} is compared to the + * {@link org.springframework.ws.soap.addressing.core.MessageAddressingProperties#getTo() + * destination} property of the incoming message. * * @author Arjen Poutsma * @since 1.5.0 @@ -35,12 +36,10 @@ import java.lang.annotation.Target; @Target(ElementType.TYPE) public @interface Address { - /** - * The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an - * autodetected component. - * - * @return the suggested component name, if any - */ - String value(); + /** + * Signifies the value for the request WS-Addressing destination that + * is handled by the class. + */ + String value(); }