Class BackupContainerReaderFactoryImpl
java.lang.Object
com.atlassian.confluence.impl.backuprestore.restore.container.BackupContainerReaderFactoryImpl
- All Implemented Interfaces:
BackupContainerReaderFactory
public class BackupContainerReaderFactoryImpl
extends Object
implements BackupContainerReaderFactory
Default implementation for restore container reader factory.
- Since:
- 7.20.0
-
Constructor Summary
ConstructorsConstructorDescriptionUse use the lazy reference for two reasons: -
Method Summary
-
Constructor Details
-
BackupContainerReaderFactoryImpl
public BackupContainerReaderFactoryImpl()Use use the lazy reference for two reasons:
- Converter has to be created when the session factory bean is initialised. It is not ready when this factory is created.
- For backup container each reader, we would like to instantiate a new instance of the converters. It is useful because some warning messages are printed only once, but we would like to print them for every backup.
-
-
Method Details
-
createBackupContainerReader
- Specified by:
createBackupContainerReader
in interfaceBackupContainerReaderFactory
- Throws:
BackupRestoreException
-