public class HostContainerLegacyAdaptor extends LegacyModuleFactory
ContainerManagedPlugin to create beansLEGACY_MODULE_FACTORY| Constructor and Description |
|---|
HostContainerLegacyAdaptor(HostContainer hostContainer) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createModule(String name,
ModuleDescriptor<T> moduleDescriptor)
Creates the module instance.
|
getModuleClasspublic HostContainerLegacyAdaptor(HostContainer hostContainer)
public <T> T createModule(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 nullPluginParseException - If it failed to create the object.Copyright © 2014 Atlassian. All rights reserved.