Annotation Interface ConfiguratorService


@Documented @Retention(RUNTIME) @Target(TYPE) @MappedService(Configurator.class) public @interface ConfiguratorService
Annotation to express that the annotated class is the Configurator for a given class.

The FxFactory picks up the configurators and applies the one registered for the nearest class along the superclass hierarchy.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Determines the class the annotated configurator applies to.
  • Element Details

    • value

      Class<?> value
      Determines the class the annotated configurator applies to.
      Returns:
      the class of the instances to be configured