org.wamblee.test.persistence
Class CompositeJpaCustomizer

java.lang.Object
  extended by org.wamblee.test.persistence.CompositeJpaCustomizer
All Implemented Interfaces:
JpaCustomizer

public class CompositeJpaCustomizer
extends java.lang.Object
implements JpaCustomizer

Composite JPA customizer that applies the customizations from several JPA customizers.

Author:
Erik Brakkee

Constructor Summary
CompositeJpaCustomizer(java.util.List<JpaCustomizer> aCustomizers)
          Construcst the customizer.
 
Method Summary
 void customize(PersistenceUnitDescription aPersistenceUnit, java.util.Map<java.lang.String,java.lang.String> aJpaProperties)
          Customizes the persistence unit through properties.
 org.dbunit.dataset.filter.ITableFilterSimple getJpaTables()
          Gets the tables specific to the JPA provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeJpaCustomizer

public CompositeJpaCustomizer(java.util.List<JpaCustomizer> aCustomizers)
Construcst the customizer.

Parameters:
aCustomizers - List of customizers.
Method Detail

customize

public void customize(PersistenceUnitDescription aPersistenceUnit,
                      java.util.Map<java.lang.String,java.lang.String> aJpaProperties)
Description copied from interface: JpaCustomizer
Customizes the persistence unit through properties.

Specified by:
customize in interface JpaCustomizer
Parameters:
aPersistenceUnit - Persistence unit.
aJpaProperties - Current properties.

getJpaTables

public org.dbunit.dataset.filter.ITableFilterSimple getJpaTables()
Description copied from interface: JpaCustomizer
Gets the tables specific to the JPA provider.

Specified by:
getJpaTables in interface JpaCustomizer
Returns:
Tables.


Copyright © 2010. All Rights Reserved.