|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unitils.util.AnnotationConfigLoader<HibernateSessionFactory,OrmConfig>
org.unitils.orm.hibernate.util.HibernateAnnotationConfigLoader
public class HibernateAnnotationConfigLoader
| Field Summary |
|---|
| Fields inherited from class org.unitils.util.AnnotationConfigLoader |
|---|
annotationClass |
| Constructor Summary | |
|---|---|
HibernateAnnotationConfigLoader()
|
|
| Method Summary | |
|---|---|
protected OrmConfig |
createResourceConfig(HibernateSessionFactory configuringAnnotation,
java.lang.reflect.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(java.lang.reflect.Method annotatedMethod)
|
| Methods inherited from class org.unitils.util.AnnotationConfigLoader |
|---|
getCustomConfigMethod, getResourceConfig, loadResourceConfig |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateAnnotationConfigLoader()
| Method Detail |
|---|
protected boolean isConfiguringAnnotation(HibernateSessionFactory annotation)
isConfiguringAnnotation in class AnnotationConfigLoader<HibernateSessionFactory,OrmConfig>annotation - Annotation of type AnnotationConfigLoader.annotationClass
protected OrmConfig createResourceConfig(HibernateSessionFactory configuringAnnotation,
java.lang.reflect.Method customConfigMethod)
org.unitils.util.AnnotationConfigLoader
createResourceConfig in class AnnotationConfigLoader<HibernateSessionFactory,OrmConfig>configuringAnnotation - Configuring annotation, if anycustomConfigMethod - Custom config method, if any
protected boolean isCustomConfigMethod(java.lang.reflect.Method annotatedMethod)
isCustomConfigMethod in class AnnotationConfigLoader<HibernateSessionFactory,OrmConfig>annotatedMethod - A method annotated with AnnotationConfigLoader.annotationClass
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||