@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.DisposableBeanExceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException@EventListener public void onClearCache(ClearCacheEvent event)
public boolean flushSoyCache()
Copyright © 2002-2016 Atlassian. All Rights Reserved.