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 ElementsModifier and TypeOptional ElementDescriptionThe 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.booleanIndicate ifdefaultmethods on the interface should be proxied as well.
-
Element Details
-
maxBlock
String maxBlockThe maximum duration to block synchronous send operations.- Returns:
- The timeout
- Default:
- ""
-
name
String nameThe 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 proxyDefaultMethodsIndicate ifdefaultmethods on the interface should be proxied as well. Note: default methods in JDK classes (such asFunction) can be proxied, but cannot be invoked viaMethodHandleby an internal Java security restriction forMethodHandle.Lookup.- Returns:
- the boolean flag to proxy default methods or invoke via
MethodHandle.
- Default:
- false
-