Class DefaultExternalLibraryService
java.lang.Object
org.qubership.integration.platform.engine.service.externallibrary.DefaultExternalLibraryService
- All Implemented Interfaces:
ExternalLibraryService
@Service
@ConditionalOnMissingBean(ExternalLibraryService.class)
public class DefaultExternalLibraryService
extends Object
implements ExternalLibraryService
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultExternalLibraryService(org.springframework.web.client.RestTemplate restTemplateMS, List<Supplier<Collection<Path>>> librarySuppliers, org.springframework.context.ApplicationEventPublisher applicationEventPublisher) -
Method Summary
Modifier and TypeMethodDescriptiongetClassLoaderForSystemModels(Collection<String> systemModelIds, ClassLoader parentClassLoader) voidupdateSystemModelLibraries(List<CompiledLibraryUpdate> compiledLibraryUpdates)
-
Constructor Details
-
DefaultExternalLibraryService
@Autowired public DefaultExternalLibraryService(org.springframework.web.client.RestTemplate restTemplateMS, List<Supplier<Collection<Path>>> librarySuppliers, org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
-
-
Method Details
-
getShellClassLoader
- Specified by:
getShellClassLoaderin interfaceExternalLibraryService
-
updateSystemModelLibraries
- Specified by:
updateSystemModelLibrariesin interfaceExternalLibraryService
-
getClassLoaderForSystemModels
public ClassLoader getClassLoaderForSystemModels(Collection<String> systemModelIds, ClassLoader parentClassLoader) - Specified by:
getClassLoaderForSystemModelsin interfaceExternalLibraryService
-