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
Constructors Constructor Description BackupContainerReaderFactoryImpl()
Use use the lazy reference for two reasons:
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupContainerReader
createBackupContainerReader(File file)
-
-
-
Constructor Detail
-
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 Detail
-
createBackupContainerReader
public BackupContainerReader createBackupContainerReader(File file) throws BackupRestoreException
- Specified by:
createBackupContainerReader
in interfaceBackupContainerReaderFactory
- Throws:
BackupRestoreException
-
-