Removed DOCUMENT ME comments that were generated and applied source code
[utils] / test / enterprise / src / main / java / org / wamblee / support / persistence / JpaCustomizer.java
1 package org.wamblee.support.persistence;
2
3 import java.util.Map;
4 import java.util.ServiceLoader;
5
6 import org.dbunit.dataset.filter.ITableFilterSimple;
7
8 /**
9  * JPA customizer is used to customize properties for a given JPA
10  * implementation.
11  * 
12  * Implementations of JpaCustomizer are found using {@link ServiceLoader}. In
13  * case of testing with a specific JPA provider, the customizer library for that
14  * JPA provider must be on the classpath as well.
15  * 
16  * @author Erik Brakkee
17  */
18 public interface JpaCustomizer {
19
20     void customize(PersistenceUnitDescription aPersistenceUnit,
21         Map<String, String> aJpaProperties);
22
23     ITableFilterSimple getJpaTables();
24 }