Annotation Interface ServiceTrigger


@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface ServiceTrigger
Service trigger annotation.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The method name that identifies the method.
    The required service name.
    The service type.
  • Element Details

    • name

      String name
      The required service name.
      Default:
      ""
    • type

      Class<?> type
      The service type.
      Default:
      java.lang.Object.class
    • method

      String method
      The method name that identifies the method.
      Default:
      ""