com.atlassian.confluence.plugin.dev
Class DeprecatedPluginModuleListener

java.lang.Object
  extended by com.atlassian.confluence.plugin.dev.DeprecatedPluginModuleListener
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class DeprecatedPluginModuleListener
extends java.lang.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 Summary
DeprecatedPluginModuleListener(com.atlassian.event.api.EventPublisher eventPublisher)
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 void pluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 java.lang.Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
java.lang.Exception

afterPropertiesSet

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.