com.atlassian.crowd.plugin.descriptors
Class ListenerModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.event.EventListener>
      extended by com.atlassian.crowd.plugin.descriptors.ListenerModuleDescriptor
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<com.atlassian.event.EventListener>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware, org.springframework.context.ApplicationContextAware

public class ListenerModuleDescriptor
extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.event.EventListener>
implements com.atlassian.plugin.StateAware, org.springframework.context.ApplicationContextAware


Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
plugin, resources, singleton
 
Constructor Summary
ListenerModuleDescriptor()
           
 
Method Summary
 void disabled()
           
 void enabled()
           
 com.atlassian.event.EventListener getModule()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setEventManager(com.atlassian.event.EventManager eventManager)
           
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, init, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListenerModuleDescriptor

public ListenerModuleDescriptor()
Method Detail

getModule

public com.atlassian.event.EventListener getModule()
Specified by:
getModule in interface com.atlassian.plugin.ModuleDescriptor<com.atlassian.event.EventListener>
Specified by:
getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.event.EventListener>

enabled

public void enabled()
Specified by:
enabled in interface com.atlassian.plugin.StateAware
Overrides:
enabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.event.EventListener>

disabled

public void disabled()
Specified by:
disabled in interface com.atlassian.plugin.StateAware
Overrides:
disabled in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<com.atlassian.event.EventListener>

setEventManager

public void setEventManager(com.atlassian.event.EventManager eventManager)

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.