Package tigase.db.util.importexport
Class RepositoryManagerExtensionBase
java.lang.Object
tigase.db.util.importexport.RepositoryManagerExtensionBase
- All Implemented Interfaces:
RepositoryManagerExtension
- Direct Known Subclasses:
CredentialsExtension,JabberIqPrivateExtension
public abstract class RepositoryManagerExtensionBase
extends Object
implements RepositoryManagerExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexportInclude(Writer parentWriter, Path filePath, RepositoryManager.ThrowingConsumer<Writer> consumer) getNamesOfComponent(Class<?> clazz) <X> XgetRepository(Class<X> ifc, String name) voidinitialize(Kernel kernel, DataSourceHelper dataSourceHelper, RepositoryHolder repositoryHolder, Path rootPath) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tigase.db.util.importexport.RepositoryManagerExtension
exportDomainData, exportUserData, getExportParameters, getImportParameters, startImportDomainData, startImportUserData
-
Constructor Details
-
RepositoryManagerExtensionBase
public RepositoryManagerExtensionBase()
-
-
Method Details
-
initialize
public void initialize(Kernel kernel, DataSourceHelper dataSourceHelper, RepositoryHolder repositoryHolder, Path rootPath) - Specified by:
initializein interfaceRepositoryManagerExtension
-
getRepository
public <X> X getRepository(Class<X> ifc, String name) throws RepositoryException, InstantiationException, IllegalAccessException -
getNamesOfComponent
-
getRootPath
-
exportInclude
protected void exportInclude(Writer parentWriter, Path filePath, RepositoryManager.ThrowingConsumer<Writer> consumer) throws Exception - Throws:
Exception
-