import java.util.List;
import java.util.ServiceLoader;
+/**
+ * JPA customizer builder implements the {@link ServiceLoader} based mechanism for looking up
+ * JPA customizers.
+ */
public class JpaCustomizerBuilder {
private static final ServiceLoader<JpaCustomizer> CUSTOMIZERS = ServiceLoader
.load(JpaCustomizer.class);
+ /**
+ * Gets the customizer to use. This is a composite customizer that combines all customizers that
+ * were found.
+ * @return JPA customizer.
+ */
public static JpaCustomizer getCustomizer() {
List<JpaCustomizer> customizers = new ArrayList<JpaCustomizer>();
for (JpaCustomizer customizer : CUSTOMIZERS) {