Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.publisher.listeners
Class DomainEventsListener

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.listeners.DomainEventsListener
All Implemented Interfaces:
EventListener

public class DomainEventsListener
extends Object
implements EventListener

Handle Domain creation, deletion and lifecycle changes. Register new PublicationTreeConfigDescriptor according to the new Domain, if at least one descriptor is pending. Unregister PublicationTreeConfigDescriptor associated to the Domain when it is removed or if its lifecycle has changed (ie. to delete state).

Author:
Thomas Roger

Constructor Summary
DomainEventsListener()
           
 
Method Summary
 void handleEvent(Event event)
          Handle the given event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomainEventsListener

public DomainEventsListener()
Method Detail

handleEvent

public void handleEvent(Event event)
                 throws ClientException
Description copied from interface: EventListener
Handle the given event. The listener can cancel the event by calling Event.cancel()

Specified by:
handleEvent in interface EventListener
Parameters:
event - the event
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.