Class AbstractLibraryLoader<T extends IDatabase>
java.lang.Object
org.pgcodekeeper.core.database.base.loader.AbstractLoader<T>
org.pgcodekeeper.core.database.base.loader.AbstractLibraryLoader<T>
- All Implemented Interfaces:
ILoader
- Direct Known Subclasses:
ChLibraryLoader,MsLibraryLoader,PgLibraryLoader
Database loader for external library dependencies.
Loads database schemas from dependency sources including JAR files, directories, and XML dependency definitions.
Supports nested dependency loading and prevents circular dependencies.
-
Method Summary
Modifier and TypeMethodDescriptionNot supported operation for library dependency loader.voidloadLibraries(boolean isIgnorePrivileges, Collection<String> paths) Loads libraries from the specified collection of paths.voidloadXml(LibraryXmlStore xmlStore) Loads library dependencies from XML store configuration.Methods inherited from class org.pgcodekeeper.core.database.base.loader.AbstractLoader
addError, getDatabase, getDatabaseName, getErrors, getMonitor, getSettings, isAllowedSchema, load, loadAndAnalyze
-
Method Details
-
loadInternal
Not supported operation for library dependency loader.- Throws:
UnsupportedOperationException- always, as this operation is not supported
-
loadLibraries
public void loadLibraries(boolean isIgnorePrivileges, Collection<String> paths) throws InterruptedException, IOException Loads libraries from the specified collection of paths.- Parameters:
isIgnorePrivileges- whether to ignore privileges during loadingpaths- collection of library paths to load- Throws:
InterruptedException- if loading is interruptedIOException- if library loading fails
-
loadXml
Loads library dependencies from XML store configuration.- Parameters:
xmlStore- the XML store containing dependency definitions- Throws:
InterruptedException- if loading is interruptedIOException- if XML loading fails
-