Class SuperBatchInvalidator

java.lang.Object
com.atlassian.jira.plugin.webresource.SuperBatchInvalidator
All Implemented Interfaces:
InitializingComponent

public class SuperBatchInvalidator extends Object implements InitializingComponent
Invalidates cached superbatch when the plugin system finishes starting.

If the superbatch is retrieved during plugin system startup / bootstrap, an incomplete set of dependencies may be cached (JRA-32692).

Since:
v6.5
  • Constructor Details

    • SuperBatchInvalidator

      public SuperBatchInvalidator(ApplicationProperties applicationProperties, com.atlassian.event.api.EventPublisher eventPublisher)
  • Method Details

    • afterInstantiation

      public void afterInstantiation() throws Exception
      Specified by:
      afterInstantiation in interface InitializingComponent
      Throws:
      Exception
    • pluginFrameworkStarted

      @EventListener public void pluginFrameworkStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event)
    • dataImportFinished

      @EventListener public void dataImportFinished(DataImportFinishedEvent ignore)