View Javadoc

    1   package org.codehaus.xfire.annotations.commons;
    2
    3   import org.codehaus.xfire.annotations.WebMethodAnnotation;
    4
    5   /***
    6    * Commons Attributes version of the WebMethod Annotation.
    7    *
    8    * @author Arjen Poutsma
    9    * @@org.apache.commons.attributes.Target(org.apache.commons.attributes.Target.METHOD)
    10   * @see org.codehaus.xfire.annotations.WebMethodAnnotation
    11   */
    12  public class WebMethod
    13          extends WebMethodAnnotation
    14  {
    15
    16      /***
    17       * Initializes a new instance of the <code>WebMethod</code> attribute.
    18       */
    19      public WebMethod()
    20      {
    21      }
    22
    23      /***
    24       * Initializes a new instance of the <code>WebMetod</code> attribute with the specified operation name.
    25       *
    26       * @param operationName the operation name.
    27       */
    28      public WebMethod(String operationName)
    29      {
    30          setOperationName(operationName);
    31      }
    32
    33  }