Annotation Type FeatureConstructor


  • @Retention(RUNTIME)
    @Target(CONSTRUCTOR)
    public @interface FeatureConstructor

    This annotation should be used on a constructor of classes extending WebServiceFeature other than Spec defined features, to help JAX-WS runtime recognize feature extensions.

    For WebServiceFeature annotations to be recognizable by JAX-WS runtime, the feature annotation should point to a corresponding bean (class extending WebServiceFeature). Only one of the constructors in the bean MUST be marked with @FeatureConstructor whose value captures the annotaion attribute names for the corresponding parameters.

    For example,
    Author:
    Rama Pulavarthi
    See Also:
    MemberSubmissionAddressingFeature, MemberSubmissionAddressing, Stateful, StatefulFeature
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String[] value
      The name of the parameter.
    • Element Detail

      • value

        String[] value
        The name of the parameter.
        Default:
        {}