Package org.fcrepo.persistence.ocfl
Class RepositoryInitializer
java.lang.Object
org.fcrepo.persistence.ocfl.RepositoryInitializer
This class is responsible for initializing the repository on start-up.
- Author:
- dbernstein
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the repositorybooleanvoidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
-
Constructor Details
-
RepositoryInitializer
public RepositoryInitializer()
-
-
Method Details
-
onApplicationEvent
@Async @EventListener public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) -
initialize
Initializes the repository -
isInitializationComplete
-