Annotation Interface ReactiveService


@Documented @Retention(RUNTIME) @Target(TYPE) @ReactiveComponent public @interface ReactiveService
Marks a class as a reactive service component in the ContextFX reactive IoC container.

This annotation is the reactive counterpart of Service. It is a specialization of ReactiveComponent intended for classes that encapsulate business logic using reactive streams or observable values. Classes annotated with @ReactiveService are processed by ReactiveServiceInjector.

Author:
Ramon Rangel Osorio <ramon.rangel@protonmail.com>
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional identifier used to register this reactive service in the container.
  • Element Details

    • value

      String value
      Optional identifier used to register this reactive service in the container. When blank, the simple class name is used as the identifier.
      Returns:
      the service identifier, or an empty string to use the class name
      Default:
      ""