public class JpaAnnotationConfigLoader extends AnnotationConfigLoader<JpaEntityManagerFactory,JpaConfig>
AnnotationConfigLoader that looks an EntityManagerFactory configured using
JpaEntityManagerFactory anntations.annotationClass| Constructor and Description |
|---|
JpaAnnotationConfigLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected JpaConfig |
createResourceConfig(JpaEntityManagerFactory configuringAnnotation,
Method customConfigMethod)
Either the given configuring annotation or custom config method must not be null (may also both be not-null)
|
protected boolean |
isConfiguringAnnotation(JpaEntityManagerFactory annotation) |
protected boolean |
isCustomConfigMethod(Method annotatedMethod) |
getCustomConfigMethod, getResourceConfig, loadResourceConfigprotected boolean isConfiguringAnnotation(JpaEntityManagerFactory annotation)
isConfiguringAnnotation in class AnnotationConfigLoader<JpaEntityManagerFactory,JpaConfig>annotation - Annotation of type AnnotationConfigLoader.annotationClassprotected JpaConfig createResourceConfig(JpaEntityManagerFactory configuringAnnotation, Method customConfigMethod)
AnnotationConfigLoadercreateResourceConfig in class AnnotationConfigLoader<JpaEntityManagerFactory,JpaConfig>configuringAnnotation - Configuring annotation, if anycustomConfigMethod - Custom config method, if anyprotected boolean isCustomConfigMethod(Method annotatedMethod)
isCustomConfigMethod in class AnnotationConfigLoader<JpaEntityManagerFactory,JpaConfig>annotatedMethod - A method annotated with AnnotationConfigLoader.annotationClassCopyright © 2017. All rights reserved.