com.atlassian.plugin.osgi.module
Class BeanPrefixModuleFactory

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

public class BeanPrefixModuleFactory
extends Object
implements PrefixModuleFactory

The SpringBeanModuleFactory creates a java bean for the given module class by resolving the name to spring bean reference. It returns a reference to this bean.

Since:
2.5.0

Field Summary
 
Fields inherited from interface com.atlassian.plugin.module.ModuleFactory
LEGACY_MODULE_FACTORY
 
Constructor Summary
BeanPrefixModuleFactory()
           
 
Method Summary
<T> T
createModule(String name, ModuleDescriptor<T> moduleDescriptor)
           
 String getPrefix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanPrefixModuleFactory

public BeanPrefixModuleFactory()
Method Detail

createModule

public <T> T createModule(String name,
                          ModuleDescriptor<T> moduleDescriptor)
Specified by:
createModule in interface ModuleFactory

getPrefix

public String getPrefix()
Specified by:
getPrefix in interface PrefixModuleFactory


Copyright © 2012 Atlassian. All Rights Reserved.