cancel
Showing results for 
Search instead for 
Did you mean: 

Is alfresco in the bootstrap process

marco_altieri
Star Contributor
Star Contributor
Sometimes scheduled jobs happen to be executed when Alfresco is still bootstrapping.
This sometimes can be a problem.

I remember that there was an API to check if Alfresco is still bootstrapping. I do not find it today.
Does this API really exist?

Thank you,
Marco
1 REPLY 1

tonc
Champ on-the-rise
Champ on-the-rise
Hi Marco,

This can be done by using the class org.alfresco.repo.admin.RepositoryState.
It has a method isBootstrapping().

The bean can be injected using the reference "repositoryState".

Cheers,
Toon C. 🙂