org.nuxeo.ecm.core.management.test.statuses
Class RuntimeListener
java.lang.Object
org.nuxeo.ecm.core.management.test.statuses.RuntimeListener
- All Implemented Interfaces:
- EventListener
public class RuntimeListener
- extends Object
- implements EventListener
RuntimeListener
public RuntimeListener()
init
public static void init()
isServerActivatedEventTriggered
public static boolean isServerActivatedEventTriggered()
isServerPassivatedEventTriggered
public static boolean isServerPassivatedEventTriggered()
aboutToHandleEvent
public boolean aboutToHandleEvent(Event event)
- Description copied from interface:
EventListener
- Notified about an event about to be processed.
Returns false to cancel the event.
- Specified by:
aboutToHandleEvent
in interface EventListener
- Parameters:
event
- the event
- Returns:
- false to cancel the event or true otherwise
handleEvent
public void handleEvent(Event event)
- Description copied from interface:
EventListener
- An event was received.
- Specified by:
handleEvent
in interface EventListener
Copyright © 2011 Nuxeo SAS. All Rights Reserved.