Is alfresco in the bootstrap process

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2014 06:12 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2016 10:55 PM
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. 🙂
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. 🙂
