@Internal public class JiraCacheResetter extends Object implements InitializingComponent
Modifier and Type | Class and Description |
---|---|
static class |
JiraCacheResetter.Delegate
Avoiding passing unfinished this to event manager.
|
Constructor and Description |
---|
JiraCacheResetter(com.atlassian.event.api.EventPublisher eventPublisher,
ReplicationPauserManager replicationPauserManager) |
Modifier and Type | Method and Description |
---|---|
void |
afterInstantiation()
Just for ordering,
InitializingComponent are initialized before other components and here we want to
initialize ASAP as we listen to JiraPluginCacheResetEvent which can be triggered by
PluginEnabledEvent . |
public JiraCacheResetter(com.atlassian.event.api.EventPublisher eventPublisher, ReplicationPauserManager replicationPauserManager)
public void afterInstantiation() throws Exception
InitializingComponent
are initialized before other components and here we want to
initialize ASAP as we listen to JiraPluginCacheResetEvent
which can be triggered by
PluginEnabledEvent
.
See ComponentManager.runInitializingComponents()
afterInstantiation
in interface InitializingComponent
Exception
Copyright © 2002-2021 Atlassian. All Rights Reserved.