org.apache.cxf.annotations

## Annotation Type FactoryType

-     @Documented
      @Retention(value=RUNTIME)
      @Target(value=TYPE)
      @Inherited
      public @interface FactoryType

  Defines the factory used for the service. Either use the factoryClass attribute to define your own factory or use one of the "value" convenience enums.

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String[]` | `args`
    `Class<? extends Factory>` | `factoryClass` The class for the factory.
    `FactoryType.Type` | `value`

- - ### Element Detail

    - #### value

          public abstract FactoryType.Type value

      Default:
        org.apache.cxf.annotations.FactoryType.Type.Singleton

    - #### args

          public abstract String[] args

      Default:
        {}

    - #### factoryClass

          public abstract Class<? extends Factory> factoryClass

      The class for the factory. It MUST have a constructor that takes two arguments: 1) The Class for the service 2) String[] of the args from above
      Default:
        org.apache.cxf.annotations.FactoryType.DEFAULT.class

Apache CXF