Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.web.common.admin
Class AdministrativeStatusListener

java.lang.Object
  extended by org.nuxeo.ecm.platform.web.common.admin.AdministrativeStatusListener
All Implemented Interfaces:
EventListener

public class AdministrativeStatusListener
extends java.lang.Object
implements EventListener

Listen for AdministrativeStatus changes and set the necessary flag in AdminStatusHelper so that web infrastructure can directly use the Helper.

Author:
tiry

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

Field Detail

ADM_MESSAGE_SERVICE

public static final java.lang.String ADM_MESSAGE_SERVICE
See Also:
Constant Field Values
Constructor Detail

AdministrativeStatusListener

public AdministrativeStatusListener()
Method Detail

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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.