com.atlassian.crowd.migration.legacy.database
Class HibernateDataSourceAccessor
java.lang.Object
com.atlassian.crowd.migration.legacy.database.HibernateDataSourceAccessor
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean
public class HibernateDataSourceAccessor
- extends java.lang.Object
- implements org.springframework.beans.factory.FactoryBean
Allows access to the hibernate datasource from the session factory provided.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateDataSourceAccessor
public HibernateDataSourceAccessor(org.hibernate.SessionFactory sessionFactory)
getObject
public java.lang.Object getObject()
throws java.lang.Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
java.lang.Exception
getObjectType
public java.lang.Class getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
Copyright © 2010 Atlassian. All Rights Reserved.