Annotation Type FactoryType


@Documented @Retention(RUNTIME) @Target(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.
  • Element Details

    • value

      Default:
      Singleton
    • args

      String[] args
      Default:
      {}
    • factoryClass

      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