1 package org.codehaus.xfire.annotations.soap;
2
3 /***
4 * Represents a common implementation of the SOAP message handlers annotation. Specifies a list of {@link
5 * SOAPMessageHandler SOAP protocol handlers} that run before and after business methods on the Web Service. These
6 * handlers are called in response to SOAP messages targeting the service. The <code>SOAPMessageHandlersAnnotation</code>
7 * is an array of SOAPMessageHandler types. The handlers are run in the order in which they appear in the annotation,
8 * starting with the first handler in the array.
9 *
10 * @author <a href="mailto:poutsma@mac.com">Arjen Poutsma</a>
11 */
12 public class SOAPMessageHandlersAnnotation
13 {
14 private SOAPMessageHandler[] value;
15
16 /***
17 * Initializes a new instance of the <code>SOAPMessageHandlersAnnotation</code>.
18 *
19 * @param value the handlers.
20 */
21 public SOAPMessageHandlersAnnotation(SOAPMessageHandler[] value)
22 {
23 this.value = value;
24 }
25
26 /***
27 * Returns the SOAP message handlers.
28 *
29 * @return the message handlers.
30 */
31 public SOAPMessageHandler[] getValue()
32 {
33 return value;
34 }
35 }