public class ThumbnailRemovingListener extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
ThumbnailRemovingListener(ThumbnailManager thumbnailManager,
AttachmentManager attachmentManager,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
handleAttachmentRemoveEvent(AttachmentRemoveEvent event) |
void |
handleAttachmentUpdateEvent(AttachmentUpdateEvent event) |
void |
handleAttachmentVersionRemoveEvent(AttachmentVersionRemoveEvent event) |
public ThumbnailRemovingListener(ThumbnailManager thumbnailManager, @Qualifier(value="attachmentManager") AttachmentManager attachmentManager, com.atlassian.event.api.EventPublisher eventPublisher)
@EventListener public void handleAttachmentUpdateEvent(AttachmentUpdateEvent event)
@EventListener public void handleAttachmentRemoveEvent(AttachmentRemoveEvent event)
@EventListener public void handleAttachmentVersionRemoveEvent(AttachmentVersionRemoveEvent event)
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
Copyright © 2003–2016 Atlassian. All rights reserved.