Class BeanPrefixModuleFactory

java.lang.Object
com.atlassian.plugin.osgi.module.BeanPrefixModuleFactory
All Implemented Interfaces:
com.atlassian.plugin.module.ModuleFactory, com.atlassian.plugin.module.PrefixModuleFactory

public class BeanPrefixModuleFactory extends Object implements com.atlassian.plugin.module.PrefixModuleFactory
The BeanModuleFactory creates a java bean for the given module class by resolving the name to bean reference. It returns a reference to this bean.
Since:
2.5.0
  • Constructor Details

    • BeanPrefixModuleFactory

      public BeanPrefixModuleFactory()
  • Method Details

    • createModule

      public <T> T createModule(String name, com.atlassian.plugin.ModuleDescriptor<T> moduleDescriptor)
      Specified by:
      createModule in interface com.atlassian.plugin.module.ModuleFactory
    • getPrefix

      public String getPrefix()
      Specified by:
      getPrefix in interface com.atlassian.plugin.module.PrefixModuleFactory