Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.apache.cxf.annotations
Annotation Type FactoryType

    @Documented
    @Retention(value=RUNTIME)
    @Target(value=TYPE)
    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
`String[]` | `args`
`Class<?>` | `factoryClass` The class for the factory.
`FactoryType.Type` | `value`

### value

    public abstract FactoryType.Type value

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

### args

    public abstract String[] args

  Default:
    {}

### factoryClass

    public abstract Class<?> 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Apache CXF