com.atlassian.confluence.pages.persistence.dao.hibernate
Class HibernateAttachmentDaoFactoryBean
java.lang.Object
com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAttachmentDaoFactoryBean
- All Implemented Interfaces:
- AttachmentDaoFactory
public class HibernateAttachmentDaoFactoryBean
- extends java.lang.Object
- implements AttachmentDaoFactory
This implementation retrieves the correct instance of AttachmentDao for the
AttachmentDataDao that is given, and wires the instance with the necessary
attributes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateAttachmentDaoFactoryBean
public HibernateAttachmentDaoFactoryBean()
setSessionFactory
public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
setIndexer
public void setIndexer(ConfluenceIndexer indexer)
setAttachmentCache
public void setAttachmentCache(AttachmentCache attachmentCache)
getInstance
public AttachmentDao getInstance(AttachmentDataDao dataDao)
- Specified by:
getInstance
in interface AttachmentDaoFactory
Copyright © 2003-2013 Atlassian. All Rights Reserved.