@Component public class SoyCacheFlusher extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
SoyCacheFlusher(com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.soy.renderer.SoyTemplateRenderer soyTemplateRenderer) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
boolean |
flushSoyCache()
Attempts to flush the cache in the SoyTemplateRenderer.
|
void |
onClearCache(ClearCacheEvent event) |
@Autowired public SoyCacheFlusher(com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.soy.renderer.SoyTemplateRenderer soyTemplateRenderer)
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
@EventListener public void onClearCache(ClearCacheEvent event)
public boolean flushSoyCache()
Copyright © 2002-2021 Atlassian. All Rights Reserved.