Annotation Interface CoherencePublisher


@Documented @Retention(RUNTIME) @Scope @Singleton @Target(TYPE) public @interface CoherencePublisher
An introduction advice that automatically implements interfaces and abstract classes and creates Publisher instances.
Since:
3.0
Author:
Vaso Putica
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The maximum duration to block synchronous send operations.
    The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.
    boolean
    Indicate if default methods on the interface should be proxied as well.
  • Element Details

    • maxBlock

      String maxBlock
      The maximum duration to block synchronous send operations.
      Returns:
      The timeout
      Default:
      ""
    • name

      String name
      The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.
      Returns:
      the suggested component name, if any
      Default:
      ""
    • proxyDefaultMethods

      boolean proxyDefaultMethods
      Indicate if default methods on the interface should be proxied as well. Note: default methods in JDK classes (such as Function) can be proxied, but cannot be invoked via MethodHandle by an internal Java security restriction for MethodHandle.Lookup.
      Returns:
      the boolean flag to proxy default methods or invoke via MethodHandle.
      Default:
      false