Class ClasspathScanningPersistenceUnitPostProcessor

All Implemented Interfaces:
Aware, EnvironmentAware, ResourceLoaderAware, PersistenceUnitPostProcessor

public class ClasspathScanningPersistenceUnitPostProcessor extends Object implements PersistenceUnitPostProcessor, ResourceLoaderAware, EnvironmentAware
PersistenceUnitPostProcessor that will scan for classes annotated with Entity or MappedSuperclass and add them to the PersistenceUnit post processed. Beyond that JPA XML mapping files can be scanned as well by configuring a file name pattern.
Oliver Gierke, Thomas Darimont, Mark Paluch, David Madden