com.atlassian.bamboo.event
Interface HibernateEventListener

All Superinterfaces:
com.atlassian.event.EventListener
All Known Implementing Classes:
AbstractNotificationEventListener, AfterXFailedNotificationListener, BuildCompletedNotificationListener, BuildErrorNotificationListener, BuildHungNotificationListener, BuildMissingCapableAgentNotificationListener, BuildQueueTimeoutNotificationListener, BuildResultsSummaryIndexingListener, ChainCompletedNotificationListener, ChainExecutionManagerImpl, CommentNotificationListener, RestoreMaven2ParticlesOnServerStartupEventListener, StageCompletedNotificationListener

public interface HibernateEventListener
extends com.atlassian.event.EventListener

An event listener that'll be wrapped in a hibernate session when loaded by Spring through the HibernateInterceptor


Method Summary
 java.lang.Class<? extends com.atlassian.event.Event>[] getHandledEventClasses()
           
 void handleEvent(com.atlassian.event.Event event)
           
 

Method Detail

handleEvent

void handleEvent(com.atlassian.event.Event event)
Specified by:
handleEvent in interface com.atlassian.event.EventListener

getHandledEventClasses

java.lang.Class<? extends com.atlassian.event.Event>[] getHandledEventClasses()
Specified by:
getHandledEventClasses in interface com.atlassian.event.EventListener
Returns:
Array of Class objects this listener handles


Copyright © 2010 Atlassian. All Rights Reserved.