@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Import(value=PublisherRegistrar.class) public @interface EnablePublisher
PublisherAnnotationBeanPostProcessor
to allow the use of the Publisher
annotation.
In addition the default-publisher-channel
name can be configured as
the defaultChannel()
of this annotation.Modifier and Type | Optional Element and Description |
---|---|
String |
defaultChannel
The
default-publisher-channel name. |
int |
order
Indicate the order in which the
PublisherAnnotationBeanPostProcessor
should be applied. |
boolean |
proxyTargetClass
Indicate whether subclass-based (CGLIB) proxies are to be created as opposed
to standard Java interface-based proxies.
|
String |
value
Alias for the
defaultChannel() attribute. |
@AliasFor(value="defaultChannel") public abstract String value
defaultChannel()
attribute.
The default-publisher-channel
name.public abstract boolean proxyTargetClass
public abstract int order
PublisherAnnotationBeanPostProcessor
should be applied.
The default is Ordered.LOWEST_PRECEDENCE
in order to run
after all other post-processors, so that it can add an advisor to
existing proxies rather than double-proxy.