Class DeprecatedPluginModuleListener

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

    public class DeprecatedPluginModuleListener
    extends Object
    implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
    Listens to PluginModuleEnabledEvents and logs a warning if the plugin module is a deprecated class, or subclasses or implements a deprecated type.
    • Constructor Detail

      • DeprecatedPluginModuleListener

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

      • pluginModuleEnabled

        @EventListener
        public void pluginModuleEnabled​(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception