|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.module.LegacyModuleFactory
com.atlassian.plugin.module.HostContainerLegacyAdaptor
public class HostContainerLegacyAdaptor
Legacy module factory that uses the ContainerManagedPlugin to create beans
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.plugin.module.ModuleFactory |
|---|
LEGACY_MODULE_FACTORY |
| Constructor Summary | |
|---|---|
HostContainerLegacyAdaptor(HostContainer hostContainer)
|
|
| Method Summary | ||
|---|---|---|
|
createModule(java.lang.String name,
ModuleDescriptor<T> moduleDescriptor)
Creates the module instance. |
|
| Methods inherited from class com.atlassian.plugin.module.LegacyModuleFactory |
|---|
getModuleClass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HostContainerLegacyAdaptor(HostContainer hostContainer)
| 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 ModuleFactorycreateModule in class LegacyModuleFactoryname - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||