@Component
public class HibernateStatisticsFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean<org.hibernate.stat.Statistics>
| Constructor and Description |
|---|
HibernateStatisticsFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.stat.Statistics |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
public org.hibernate.stat.Statistics getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<org.hibernate.stat.Statistics>java.lang.Exceptionpublic java.lang.Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.hibernate.stat.Statistics>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<org.hibernate.stat.Statistics>public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Copyright © 2019. All Rights Reserved.