Class ListenerServiceInit

java.lang.Object
io.meeds.deeds.common.service.ListenerServiceInit
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Service public class ListenerServiceInit extends Object implements org.springframework.context.ApplicationContextAware
A class to initialize ListenerService to avoid having cyclic dependency: ListenerService -> EventListeners -> Service Layer Components -> ListenerService
  • Constructor Details

    • ListenerServiceInit

      public ListenerServiceInit()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • init

      @PostConstruct public void init()