Class SynchronyInteropBootstrap
- java.lang.Object
-
- com.atlassian.confluence.plugins.synchrony.bootstrap.SynchronyInteropBootstrap
-
- All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
@Component public class SynchronyInteropBootstrap extends Object implements com.atlassian.sal.api.lifecycle.LifecycleAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Bootstraps the Synchrony process after plugin startup.- Since:
- 6.0
-
-
Constructor Summary
Constructors Constructor Description SynchronyInteropBootstrap(SynchronyProcessManager processManager, com.atlassian.event.api.EventPublisher eventPublisher, BootstrapManager bootstrapManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
destroy()
void
onGlobalSettingsChangeEvent(GlobalSettingsChangedEvent globalSettingsChangedEvent)
void
onGlobalSettingsChangeEvent(ClusterEventWrapper wrapper)
void
onPluginStopped(ClusterEventWrapper wrapper)
void
onPluginStopped(PluginDisableEvent pluginDisableEvent)
void
onStart()
void
onStop()
-
-
-
Constructor Detail
-
SynchronyInteropBootstrap
@Autowired public SynchronyInteropBootstrap(SynchronyProcessManager processManager, com.atlassian.event.api.EventPublisher eventPublisher, BootstrapManager bootstrapManager)
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
destroy
public void destroy() throws Exception
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-
onGlobalSettingsChangeEvent
@EventListener public void onGlobalSettingsChangeEvent(GlobalSettingsChangedEvent globalSettingsChangedEvent)
-
onGlobalSettingsChangeEvent
@EventListener public void onGlobalSettingsChangeEvent(ClusterEventWrapper wrapper)
-
onStart
public void onStart()
- Specified by:
onStart
in interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-
onStop
public void onStop()
- Specified by:
onStop
in interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-
onPluginStopped
@EventListener public void onPluginStopped(PluginDisableEvent pluginDisableEvent)
-
onPluginStopped
@EventListener public void onPluginStopped(ClusterEventWrapper wrapper)
-
-