Class LicenseUpdateListener

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    @Internal
    public class LicenseUpdateListener
    extends Object
    implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
    Listens for confluence events indicating license change and republishes them as SAL events
    • Constructor Detail

      • LicenseUpdateListener

        public LicenseUpdateListener​(com.atlassian.event.api.EventPublisher eventPublisher)
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • onConfluenceLicenseChanged

        @EventListener
        public void onConfluenceLicenseChanged​(LicenceUpdatedEvent event)
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean