Class SpacePermissionCachePrimer
java.lang.Object
com.atlassian.confluence.impl.security.SpacePermissionCachePrimer
This class will prime space permission cache for all spaces that not archived or
personal.
- Since:
- 5.9
-
Method Summary
Modifier and TypeMethodDescriptionvoidUseApplicationStartedEventas the trigger for priming cache.voidvoid
-
Method Details
-
registerForEvents
@PostConstruct public void registerForEvents() -
unregisterForEvents
@PreDestroy public void unregisterForEvents() -
onApplicationStartedEvent
UseApplicationStartedEventas the trigger for priming cache. Other possibilities could be listening to some sort of tenancy event, butis generally published too early for this object to react to it.invalid reference
com.atlassian.tenancy.api.event.TenantArrivedEvent
-