Class SimplePersistenceUnitPostProcessor
java.lang.Object
com.broadleafcommerce.enterprise.workflow.dao.simple.SimplePersistenceUnitPostProcessor
- All Implemented Interfaces:
org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
public class SimplePersistenceUnitPostProcessor
extends Object
implements org.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
Conditionally introduce domain to support the simple sandbox lifecycle strategy.
- Author:
- Jeff Fischer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui)
-
Field Details
-
enabled
@Value("${sandbox.lifecycle.strategy.simple.enabled:true}") protected boolean enabled
-
-
Constructor Details
-
SimplePersistenceUnitPostProcessor
public SimplePersistenceUnitPostProcessor()
-
-
Method Details
-
postProcessPersistenceUnitInfo
public void postProcessPersistenceUnitInfo(org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo pui) - Specified by:
postProcessPersistenceUnitInfoin interfaceorg.springframework.orm.jpa.persistenceunit.PersistenceUnitPostProcessor
-