Class AsynchronousApplicationEventPublisher

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware

    @Component
    public class AsynchronousApplicationEventPublisher
    extends Object
    implements org.springframework.context.ApplicationEventPublisherAware
    • Constructor Detail

      • AsynchronousApplicationEventPublisher

        public AsynchronousApplicationEventPublisher()
    • Method Detail

      • setApplicationEventPublisher

        public void setApplicationEventPublisher​(org.springframework.context.ApplicationEventPublisher eventPublisher)
        Specified by:
        setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware
      • publishEventAsynchronously

        @Async
        public void publishEventAsynchronously​(org.springframework.context.ApplicationEvent event)