| |
|
| org.springframework.orm.hibernate3.LocalSessionFactoryBean org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean
Method Summary | |
protected void | postProcessAnnotationConfiguration(AnnotationConfiguration config) To be implemented by subclasses that want to to perform custom
post-processing of the AnnotationConfiguration object after this
FactoryBean performed its default initialization. | final protected void | postProcessConfiguration(Configuration config) Reads metadata from annotated classes and packages into the
AnnotationConfiguration instance. | public void | setAnnotatedClasses(Class[] annotatedClasses) Specify annotated classes, for which mappings will be read from
class-level JDK 1.5+ annotation metadata. | public void | setAnnotatedPackages(String[] annotatedPackages) Specify the names of annotated packages, for which package-level
JDK 1.5+ annotation metadata will be read. | public void | setConfigurationClass(Class configurationClass) |
AnnotationSessionFactoryBean | public AnnotationSessionFactoryBean()(Code) | | |
postProcessAnnotationConfiguration | protected void postProcessAnnotationConfiguration(AnnotationConfiguration config) throws HibernateException(Code) | | To be implemented by subclasses that want to to perform custom
post-processing of the AnnotationConfiguration object after this
FactoryBean performed its default initialization.
Parameters: config - the current AnnotationConfiguration object throws: HibernateException - in case of Hibernate initialization errors |
postProcessConfiguration | final protected void postProcessConfiguration(Configuration config) throws HibernateException(Code) | | Reads metadata from annotated classes and packages into the
AnnotationConfiguration instance.
Calls postProcessAnnotationConfiguration afterwards,
to give subclasses the chance to perform custom post-processing.
See Also: AnnotationSessionFactoryBean.postProcessAnnotationConfiguration |
setAnnotatedClasses | public void setAnnotatedClasses(Class[] annotatedClasses)(Code) | | Specify annotated classes, for which mappings will be read from
class-level JDK 1.5+ annotation metadata.
See Also: org.hibernate.cfg.AnnotationConfiguration.addAnnotatedClass(Class) |
setAnnotatedPackages | public void setAnnotatedPackages(String[] annotatedPackages)(Code) | | Specify the names of annotated packages, for which package-level
JDK 1.5+ annotation metadata will be read.
See Also: org.hibernate.cfg.AnnotationConfiguration.addPackage(String) |
setConfigurationClass | public void setConfigurationClass(Class configurationClass)(Code) | | |
|
|
|