javadoc updates
[utils] / test / enterprise / src / main / java / org / wamblee / support / persistence / JpaCustomizerBuilder.java
index 1f1884fe0fcc6b2743c8ce457a166c62639609a1..564e82461d61a09a80c74fe0003403727c9ca29b 100644 (file)
@@ -19,11 +19,20 @@ import java.util.ArrayList;
 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) {