1 package org.wamblee.support.persistence;
6 import org.dbunit.dataset.filter.ITableFilterSimple;
8 public class CompositeJpaCustomizer implements JpaCustomizer {
10 private List<JpaCustomizer> _customizers;
11 private CompositeJpaTables _tables;
13 public CompositeJpaCustomizer(List<JpaCustomizer> aCustomizers) {
14 _customizers = aCustomizers;
15 _tables = new CompositeJpaTables();
16 for (JpaCustomizer customizer: _customizers) {
17 _tables.add(customizer.getJpaTables());
22 public void customize(PersistenceUnitDescription aPersistenceUnit, Map<String, String> aJpaProperties) {
23 for (JpaCustomizer customizer: _customizers) {
24 customizer.customize(aPersistenceUnit, aJpaProperties);
29 public ITableFilterSimple getJpaTables() {