Class EntityConfiguration
java.lang.Object
org.broadleafcommerce.common.persistence.EntityConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Component("blEntityConfiguration")
public class EntityConfiguration
extends Object
implements org.springframework.context.ApplicationContextAware
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createEntityInstance
(String beanId) <T> T
createEntityInstance
(String beanId, Class<T> resultClass) String[]
org.springframework.core.io.Resource[]
Class<?>
lookupEntityClass
(String beanId) <T> Class<T>
lookupEntityClass
(String beanId, Class<T> resultClass) void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setEntityContexts
(org.springframework.core.io.Resource[] entityContexts)
-
Field Details
-
mergedEntityContexts
-
-
Constructor Details
-
EntityConfiguration
public EntityConfiguration()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
configureMergedItems
@PostConstruct public void configureMergedItems() -
lookupEntityClass
-
getEntityBeanNames
-
lookupEntityClass
-
createEntityInstance
-
createEntityInstance
-
getEntityContexts
public org.springframework.core.io.Resource[] getEntityContexts() -
setEntityContexts
public void setEntityContexts(org.springframework.core.io.Resource[] entityContexts)
-