com.atlassian.plugin.osgi.module
Class BeanPrefixModuleFactory
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanPrefixModuleFactory
public BeanPrefixModuleFactory()
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.