|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
org.broadleafcommerce.openadmin.server.service.persistence.entitymanager.annotation.BroadleafPersistenceAnnotationBeanPostProcessor
public class BroadleafPersistenceAnnotationBeanPostProcessor
Modification of behavior defined in PersistenceAnnotationBeanPostProcessor to support the Broadleaf
concept of sand boxes. Change sets are entity alterations created through the Broadleaf admin
application that have not been finalized in the standard schema. This provides administrators with
the core functionality to preview their changes without impacting the site as it's seen by regular
users. This also provides the basis for approval workflows and scheduling of change set deployments.
This class keeps track of two persistence units instead of one: the regular persistence unit and
the sand box persistence unit.
Based on PersistenceAnnotationBeanPostProcessor by Rod Johnson and Juergen Hoeller
| Field Summary |
|---|
| Fields inherited from interface org.springframework.core.Ordered |
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Constructor Summary | |
|---|---|
BroadleafPersistenceAnnotationBeanPostProcessor()
|
|
| Method Summary | |
|---|---|
org.springframework.beans.PropertyValues |
postProcessPropertyValues(org.springframework.beans.PropertyValues pvs,
java.beans.PropertyDescriptor[] pds,
java.lang.Object bean,
java.lang.String beanName)
|
| Methods inherited from class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor |
|---|
findDefaultEntityManagerFactory, findEntityManagerFactory, findNamedEntityManagerFactory, getOrder, getPersistenceContext, getPersistenceUnit, lookup, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeDestruction, postProcessBeforeInitialization, postProcessBeforeInstantiation, postProcessMergedBeanDefinition, setBeanFactory, setDefaultPersistenceUnitName, setExtendedPersistenceContexts, setJndiEnvironment, setJndiTemplate, setOrder, setPersistenceContexts, setPersistenceUnits, setResourceRef |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BroadleafPersistenceAnnotationBeanPostProcessor()
| Method Detail |
|---|
public org.springframework.beans.PropertyValues postProcessPropertyValues(org.springframework.beans.PropertyValues pvs,
java.beans.PropertyDescriptor[] pds,
java.lang.Object bean,
java.lang.String beanName)
throws org.springframework.beans.BeansException
postProcessPropertyValues in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorpostProcessPropertyValues in class org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessororg.springframework.beans.BeansException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||