Class ApplicationEventPublisherAdapter

  • All Implemented Interfaces:
    org.springframework.context.ApplicationEventPublisher

    public class ApplicationEventPublisherAdapter
    extends java.lang.Object
    implements org.springframework.context.ApplicationEventPublisher
    An adapter for Spring's ApplicationEventPublisher interface.
    Since:
    1.0
    • Constructor Summary

      Constructors 
      Constructor Description
      ApplicationEventPublisherAdapter​(io.micronaut.context.event.ApplicationEventPublisher eventPublisher)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void publishEvent​(java.lang.Object event)  
      void publishEvent​(org.springframework.context.ApplicationEvent event)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApplicationEventPublisherAdapter

        public ApplicationEventPublisherAdapter​(io.micronaut.context.event.ApplicationEventPublisher eventPublisher)
        Constructor.
        Parameters:
        eventPublisher - The application event publisher
    • Method Detail

      • publishEvent

        public void publishEvent​(org.springframework.context.ApplicationEvent event)
        Specified by:
        publishEvent in interface org.springframework.context.ApplicationEventPublisher
      • publishEvent

        public void publishEvent​(java.lang.Object event)
        Specified by:
        publishEvent in interface org.springframework.context.ApplicationEventPublisher