Package org.bgerp.app.cfg.bean
Class Bean
java.lang.Object
org.bgerp.app.cfg.bean.Bean
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic org.reflections.Reflectionsclasses()static Class<?> Provides class by a simpleBeanof a full class name.static final voidstatic final <T> TnewInstance(String name) Creates an object of a given class, loaded withgetClass(String). 
- 
Constructor Details
- 
Bean
public Bean() 
 - 
 - 
Method Details
- 
loadBeanClasses
public static final void loadBeanClasses() - 
classes
public static org.reflections.Reflections classes()- Returns:
 - reflection object, configured for statically loaded from 
PluginManager.ERP_PACKAGESandCustomclasses. 
 - 
getClass
- Parameters:
 name- the simpleBeanof the full class name.- Returns:
 - Throws:
 ClassNotFoundException
 - 
newInstance
Creates an object of a given class, loaded withgetClass(String).- Parameters:
 className- the full class name or a simpleBeanname.args- optional constructor arguments.- Returns:
 - created object instance.
 - Throws:
 ClassNotFoundException
 
 -