com.atlassian.jira.plugin.license
Class LicenseRoleModuleDescriptorImpl

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
      extended by com.atlassian.jira.plugin.AbstractJiraModuleDescriptor<LicenseRoleDefinition>
          extended by com.atlassian.jira.plugin.license.LicenseRoleModuleDescriptorImpl
All Implemented Interfaces:
JiraResourcedModuleDescriptor<LicenseRoleDefinition>, LicenseRoleModuleDescriptor, com.atlassian.plugin.ModuleDescriptor<LicenseRoleDefinition>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware

public class LicenseRoleModuleDescriptorImpl
extends AbstractJiraModuleDescriptor<LicenseRoleDefinition>
implements LicenseRoleModuleDescriptor

Implementation of LicenseRoleModuleDescriptor. Getting the module from this module descriptor returns an instance of LicenseRoleDefinition.


Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton
 
Constructor Summary
LicenseRoleModuleDescriptorImpl(JiraAuthenticationContext authenticationContext, com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
protected  LicenseRoleDefinition createModule()
          Creates an instance of the Module.
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 
Methods inherited from class com.atlassian.jira.plugin.AbstractJiraModuleDescriptor
assertResourceExists, createVelocityParams, disabled, enabled, getAuthenticationContext, getClassLoader, getDescription, getHtml, getHtml, getI18nBean, getModule, getName, getText, getText, isResourceExist, writeHtml
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, destroy, equals, getCompleteKey, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModule, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 

Constructor Detail

LicenseRoleModuleDescriptorImpl

public LicenseRoleModuleDescriptorImpl(JiraAuthenticationContext authenticationContext,
                                       com.atlassian.plugin.module.ModuleFactory moduleFactory)
Method Detail

init

public void init(com.atlassian.plugin.Plugin plugin,
                 org.dom4j.Element element)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.ModuleDescriptor<LicenseRoleDefinition>
Overrides:
init in class AbstractJiraModuleDescriptor<LicenseRoleDefinition>
Throws:
com.atlassian.plugin.PluginParseException

createModule

protected LicenseRoleDefinition createModule()
Description copied from class: AbstractJiraModuleDescriptor
Creates an instance of the Module.

This is called by the lazy load logic of getModule() and is suitable for overriding in subclasses if they want to customize how the Module class is instantiated.

Overrides:
createModule in class AbstractJiraModuleDescriptor<LicenseRoleDefinition>
Returns:
a new instance of the module.


Copyright © 2002-2014 Atlassian. All Rights Reserved.