Class BeanGenerator
- java.lang.Object
-
- de.hybris.bootstrap.beangenerator.BeanGenerator
-
public class BeanGenerator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.log4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description BeanGenerator(java.lang.String platformHome, java.lang.String targetDir, java.util.Map<java.lang.String,java.lang.String> extensionNamePathMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringcalculateSchemaPath()booleangenerate()Generates beans.protected java.util.Collection<Extension>getConfiguredExtensions(java.util.Map<java.lang.String,java.lang.String> extensionNamePathMapping)protected java.util.List<? extends PojoCreationValidator>getListeners()protected java.io.FilegetVelocityTemplateForBean(ClassNameAware bean)voidsetBeansPostProcessor(BeansPostProcessor beansPostProcessor)
-
-
-
Method Detail
-
setBeansPostProcessor
public void setBeansPostProcessor(BeansPostProcessor beansPostProcessor)
-
calculateSchemaPath
protected java.lang.String calculateSchemaPath()
-
getConfiguredExtensions
protected java.util.Collection<Extension> getConfiguredExtensions(java.util.Map<java.lang.String,java.lang.String> extensionNamePathMapping)
-
getListeners
protected java.util.List<? extends PojoCreationValidator> getListeners()
-
generate
public boolean generate()
Generates beans.- Returns:
- true if any bean had been generated anew, false otherwise
-
getVelocityTemplateForBean
protected java.io.File getVelocityTemplateForBean(ClassNameAware bean)
-
-