Annotation Type NotificationListener


  • @Target(METHOD)
    @Retention(RUNTIME)
    @Inherited
    @Documented
    @Repeatable(List.class)
    public @interface NotificationListener
    订阅通知。
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> notification
      要监听的通知类。
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String amplifierBeanName
      recover时要使用的amplifier bean在容器内的名字
      int concurrency
      监听器并发量
      java.lang.String name
      监听器的名称。
    • Element Detail

      • notification

        java.lang.Class<?> notification
        要监听的通知类。
      • concurrency

        int concurrency
        监听器并发量
        Default:
        1
      • name

        java.lang.String name
        监听器的名称。
        Default:
        ""
      • amplifierBeanName

        java.lang.String amplifierBeanName
        recover时要使用的amplifier bean在容器内的名字
        Default:
        ""