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(org.hibernate.SessionFactory sessionFactory, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.cache.CacheFactory cacheFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentDao
getInstance(AttachmentDataDao dataDao)
-
-
-
Method Detail
-
getInstance
public AttachmentDao getInstance(AttachmentDataDao dataDao)
- Specified by:
getInstance
in interfaceAttachmentDaoFactory
-
-