org.codehaus.xfire.annotations.soap.SOAPMessageHandlersAnnotation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xfire-annotations Show documentation
Show all versions of xfire-annotations Show documentation
Annotation support for XFire
package org.codehaus.xfire.annotations.soap;
/**
* Represents a common implementation of the SOAP message handlers annotation. Specifies a list of {@link
* SOAPMessageHandler SOAP protocol handlers} that run before and after business methods on the Web Service. These
* handlers are called in response to SOAP messages targeting the service. The SOAPMessageHandlersAnnotation
* is an array of SOAPMessageHandler types. The handlers are run in the order in which they appear in the annotation,
* starting with the first handler in the array.
*
* @author Arjen Poutsma
*/
public class SOAPMessageHandlersAnnotation
{
private SOAPMessageHandler[] value;
/**
* Initializes a new instance of the SOAPMessageHandlersAnnotation
.
*
* @param value the handlers.
*/
public SOAPMessageHandlersAnnotation(SOAPMessageHandler[] value)
{
this.value = value;
}
/**
* Returns the SOAP message handlers.
*
* @return the message handlers.
*/
public SOAPMessageHandler[] getValue()
{
return value;
}
}