com.atlassian.plugin.osgi.factory.descriptor
Class ComponentModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Object>
      extended by com.atlassian.plugin.osgi.factory.descriptor.ComponentModuleDescriptor
All Implemented Interfaces:
ModuleDescriptor<Object>, Resourced, StateAware

public class ComponentModuleDescriptor
extends AbstractModuleDescriptor<Object>

Module descriptor for components. Shouldn't be directly used outside providing read-only information.

Since:
2.2.0

Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton
 
Constructor Summary
ComponentModuleDescriptor()
           
 
Method Summary
 Object getModule()
           
 String getModuleClassName()
          Deprecated. - BEWARE that this is a temporary method that will not exist for long. Deprecated since 2.3.0
 void init(Plugin plugin, org.dom4j.Element element)
           
protected  void loadClass(Plugin plugin, String clazz)
           
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentModuleDescriptor

public ComponentModuleDescriptor()
Method Detail

init

public void init(@NotNull
                 Plugin plugin,
                 @NotNull
                 org.dom4j.Element element)
          throws PluginParseException
Specified by:
init in interface ModuleDescriptor<Object>
Overrides:
init in class AbstractModuleDescriptor<Object>
Throws:
PluginParseException

loadClass

protected void loadClass(Plugin plugin,
                         String clazz)
                  throws PluginParseException
Overrides:
loadClass in class AbstractModuleDescriptor<Object>
Throws:
PluginParseException

getModule

public Object getModule()
Specified by:
getModule in interface ModuleDescriptor<Object>
Specified by:
getModule in class AbstractModuleDescriptor<Object>

getModuleClassName

public String getModuleClassName()
Deprecated. - BEWARE that this is a temporary method that will not exist for long. Deprecated since 2.3.0

Overrides:
getModuleClassName in class AbstractModuleDescriptor<Object>
Returns:
Module Class Name
Since:
2.3.0


Copyright © 2015 Atlassian. All rights reserved.