org.broadleafcommerce.common.persistence
Class EntityConfiguration
java.lang.Object
org.broadleafcommerce.common.persistence.EntityConfiguration
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
@Component(value="blEntityConfiguration")
public class EntityConfiguration
- extends Object
- implements org.springframework.context.ApplicationContextAware
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mergedEntityContexts
protected Set<String> mergedEntityContexts
EntityConfiguration
public EntityConfiguration()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
configureMergedItems
@PostConstruct
public void configureMergedItems()
lookupEntityClass
public Class<?> lookupEntityClass(String beanId)
getEntityBeanNames
public String[] getEntityBeanNames()
lookupEntityClass
public <T> Class<T> lookupEntityClass(String beanId,
Class<T> resultClass)
createEntityInstance
public Object createEntityInstance(String beanId)
createEntityInstance
public <T> T createEntityInstance(String beanId,
Class<T> resultClass)
getEntityContexts
public org.springframework.core.io.Resource[] getEntityContexts()
setEntityContexts
public void setEntityContexts(org.springframework.core.io.Resource[] entityContexts)
Copyright © 2012. All Rights Reserved.