Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.management.test.statuses
Class RuntimeListener

java.lang.Object
  extended by org.nuxeo.ecm.core.management.test.statuses.RuntimeListener
All Implemented Interfaces:
EventListener

public class RuntimeListener
extends Object
implements EventListener


Constructor Summary
RuntimeListener()
           
 
Method Summary
 boolean aboutToHandleEvent(Event event)
          Notified about an event about to be processed.
 void handleEvent(Event event)
          An event was received.
static void init()
           
static boolean isServerActivatedEventTriggered()
           
static boolean isServerPassivatedEventTriggered()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeListener

public RuntimeListener()
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.