public class HibernateAnnotationConfigLoader extends AnnotationConfigLoader<HibernateSessionFactory,OrmConfig>
annotationClass| Constructor and Description |
|---|
HibernateAnnotationConfigLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected OrmConfig |
createResourceConfig(HibernateSessionFactory 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(HibernateSessionFactory annotation) |
protected boolean |
isCustomConfigMethod(Method annotatedMethod) |
getCustomConfigMethod, getResourceConfig, loadResourceConfigprotected boolean isConfiguringAnnotation(HibernateSessionFactory annotation)
isConfiguringAnnotation in class AnnotationConfigLoader<HibernateSessionFactory,OrmConfig>annotation - Annotation of type AnnotationConfigLoader.annotationClassprotected OrmConfig createResourceConfig(HibernateSessionFactory configuringAnnotation, Method customConfigMethod)
AnnotationConfigLoadercreateResourceConfig in class AnnotationConfigLoader<HibernateSessionFactory,OrmConfig>configuringAnnotation - Configuring annotation, if anycustomConfigMethod - Custom config method, if anyprotected boolean isCustomConfigMethod(Method annotatedMethod)
isCustomConfigMethod in class AnnotationConfigLoader<HibernateSessionFactory,OrmConfig>annotatedMethod - A method annotated with AnnotationConfigLoader.annotationClassCopyright © 2017. All rights reserved.