@Component public class RepositoryInitializationService extends Object
Constructor and Description |
---|
RepositoryInitializationService(RepositoryRepository repositoryRepository,
PackageMetadataRepository packageMetadataRepository,
PackageMetadataService packageMetadataService,
SkipperServerProperties skipperServerProperties) |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.springframework.boot.context.event.ApplicationReadyEvent event) |
public RepositoryInitializationService(RepositoryRepository repositoryRepository, PackageMetadataRepository packageMetadataRepository, PackageMetadataService packageMetadataService, SkipperServerProperties skipperServerProperties)
@EventListener @Transactional public void initialize(org.springframework.boot.context.event.ApplicationReadyEvent event)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.