|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.module.LegacyModuleFactory
public class LegacyModuleFactory
Legacy module factory that provides module classes for descriptors that aren't using an injected ModuleFactory
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.plugin.module.ModuleFactory |
|---|
LEGACY_MODULE_FACTORY |
| Constructor Summary | |
|---|---|
LegacyModuleFactory()
|
|
| Method Summary | ||
|---|---|---|
|
createModule(java.lang.String name,
ModuleDescriptor<T> moduleDescriptor)
Creates the module instance. |
|
|
getModuleClass(java.lang.String name,
ModuleDescriptor<T> moduleDescriptor)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LegacyModuleFactory()
| Method Detail |
|---|
public <T> T createModule(java.lang.String name,
ModuleDescriptor<T> moduleDescriptor)
throws PluginParseException
ModuleFactorycom.atlassian.plugin.module.ModuleCreator.
The prefix is case in-sensitive.
createModule in interface ModuleFactoryname - module class name, can contain a prefix followed by ":" and the class name. Cannot be null
If no prefix provided a default behaviour is assumed how to create the module class.moduleDescriptor - the ModuleDescriptor. Cannot be null
PluginParseException - If it failed to create the object.
public <T> java.lang.Class<T> getModuleClass(java.lang.String name,
ModuleDescriptor<T> moduleDescriptor)
throws ModuleClassNotFoundException
ModuleClassNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||