Class ApplicationEventPublisherAdapter

java.lang.Object
io.micronaut.spring.core.event.ApplicationEventPublisherAdapter
All Implemented Interfaces:
org.springframework.context.ApplicationEventPublisher

public class ApplicationEventPublisherAdapter extends Object implements org.springframework.context.ApplicationEventPublisher
An adapter for Spring's ApplicationEventPublisher interface.
Since:
1.0
Author:
graemerocher
  • Constructor Details

    • ApplicationEventPublisherAdapter

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

    • publishEvent

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

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