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 Details

    • mergedEntityContexts

      protected Set<String> 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 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)