com.atlassian.confluence.pages.persistence.dao.hibernate
Class HibernateAttachmentDaoFactoryBean

java.lang.Object
  extended by com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAttachmentDaoFactoryBean
All Implemented Interfaces:
AttachmentDaoFactory

public class HibernateAttachmentDaoFactoryBean
extends 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.


Constructor Summary
HibernateAttachmentDaoFactoryBean()
           
 
Method Summary
 AttachmentDao getInstance(AttachmentDataDao dataDao)
           
 void setAttachmentCache(AttachmentCache attachmentCache)
           
 void setIndexer(ConfluenceIndexer indexer)
           
 void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateAttachmentDaoFactoryBean

public HibernateAttachmentDaoFactoryBean()
Method Detail

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-2011 Atlassian. All Rights Reserved.