All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.xfire.annotations.HandlerChainAnnotation Maven / Gradle / Ivy

package org.codehaus.xfire.annotations;

import java.io.Serializable;

/**
 * Represents a common representation of a handler chain annotation. Associates the Web Service with an externally
 * defined handler chain. This annotation is typically used in scenarios where embedding the handler configuration
 * directly in the Java source is not appropriate; for example, where the handler configuration needs to be shared
 * across multiple Web Services, or where the handler chain consists of handlers for multiple transports.
 * 

* It is an error to combine this annotation with the {@link org.codehaus.xfire.annotations.soap.SOAPMessageHandler}. * * @author Arjen Poutsma */ public class HandlerChainAnnotation implements Serializable { private String file; private String name; /** * Initializes a new instance of the HandlerChain attribute with the given file and chain name. * * @param file the file name. * @param name the handler name. */ public HandlerChainAnnotation(String file, String name) { this.file = file; this.name = name; } /** * Returns the location of the handler chain file. The location is a URL, which may be relative or absolute. * Relative URLs are relative to the location of the service implementation bean at the time of processing. * * @return the location of the handler chain file. */ public String getFile() { return file; } /** * Returns the name of the handler chain in the configuration file. * * @return the name of the handler chain. */ public String getName() { return name; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy