Annotation Type CoherencePublisher
-
@Documented @Retention(RUNTIME) @Scope @Singleton @Target(TYPE) public @interface CoherencePublisher
An introduction advice that automatically implements interfaces and abstract classes and createsPublisher
instances.- Since:
- 3.0
- Author:
- Vaso Putica
- See Also:
CoherencePublisherScanRegistrar
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
maxBlock
The maximum duration to block synchronous send operations.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 ifdefault
methods 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 ifdefault
methods on the interface should be proxied as well. Note: default methods in JDK classes (such asFunction
) can be proxied, but cannot be invoked viaMethodHandle
by an internal Java security restriction forMethodHandle.Lookup
.- Returns:
- the boolean flag to proxy default methods or invoke via
MethodHandle
.
- Default:
- false
-
-