Annotation Type CoherencePublisher
-
@Documented @Retention(RUNTIME) @Scope @Singleton @Target(TYPE) public @interface CoherencePublisher
An introduction advice that automatically implements interfaces and abstract classes and createsPublisherinstances.- Since:
- 3.0
- Author:
- Vaso Putica
- See Also:
CoherencePublisherScanRegistrar
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringmaxBlockThe maximum duration to block synchronous send operations.StringnameThe value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.booleanproxyDefaultMethodsIndicate ifdefaultmethods on the interface should be proxied as well.
-
-
-
Element Detail
-
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 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
-
-