Class HibernateAttachmentDaoFactoryBean
- java.lang.Object
-
- 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
Constructors Constructor Description HibernateAttachmentDaoFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AttachmentDaogetInstance(AttachmentDataDao dataDao)voidsetAttachmentCache(AttachmentCache attachmentCache)Deprecated.since 7.5 UsesetCacheFactory(CacheFactory)voidsetCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)voidsetEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)voidsetIndexer(ConfluenceIndexer indexer)Deprecated.since 7.5 usesetEventPublisher(EventPublisher)voidsetSessionFactory(org.hibernate.SessionFactory sessionFactory)
-
-
-
Method Detail
-
setSessionFactory
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
-
setIndexer
@Deprecated public void setIndexer(ConfluenceIndexer indexer)
Deprecated.since 7.5 usesetEventPublisher(EventPublisher)
-
setEventPublisher
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
- Since:
- 7.5
-
setAttachmentCache
@Deprecated public void setAttachmentCache(AttachmentCache attachmentCache)
Deprecated.since 7.5 UsesetCacheFactory(CacheFactory)
-
setCacheFactory
public void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
- Since:
- 7.5
-
getInstance
public AttachmentDao getInstance(AttachmentDataDao dataDao)
- Specified by:
getInstancein interfaceAttachmentDaoFactory
-
-