Annotation Type 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:
    CoherencePublisherScanRegistrar
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String maxBlock
      The maximum duration to block synchronous send operations.
      java.lang.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.
      boolean proxyDefaultMethods
      Indicate if default methods on the interface should be proxied as well.
    • Element Detail

      • maxBlock

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

        java.lang.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