Annotation Type AsyncListener


  • @Target({METHOD,TYPE})
    @Retention(RUNTIME)
    @Documented
    public @interface AsyncListener
    A annotation that marks a event listener method as asynchronous. That means the listener event methods are run in a separated thread. How tasks are executed is dependent on the implementation.
    Since:
    3.0
    Author:
    Martin Stockhammer
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value
      May be set to set the executor.
    • Element Detail

      • value

        String value
        May be set to set the executor. The meaning of this value is implementation specific.
        Returns:
        The value.
        Default:
        ""