Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point listener

Extension point defining event listeners.

An event listener describes some Java code that can be executed synchronously or asynchronously when an event is fired by Nuxeo code.

Example listener:

    <listener async="false"
        class="org.nuxeo.ecm.platform.dublincore.listener.DublinCoreListener"
        enabled="true" name="mylistener" postCommit="false"
        priority="50" retryCount="1">
        <event>documentCreated</event>
        <event>documentModified</event>
    </listener>

The events listed are those for which the listener will be called. If there are none, the listener is called for all events, but this is strongly discouraged for performance reasons.

Listeners belong to one of three categories:

If postCommit=false then the listener is purely synchronous (also called "inline") and executed in the same thread and transaction as the code firing the event, as a regular method call. The class must implement org.nuxeo.ecm.core.event.EventListener, which receives events one at a time.

If postCommit=true and async=true then the listener is purely asynchronous and executed at an arbitrary later point in time (but after the original transaction is committed), in its own thread and transaction. It may be retried if a ConcurrentUpdateException is detected. The listener is executed asynchronously by the WorkManager via a Work instance whose category (which determines the Work queue used) is the listener's name. The class must implement org.nuxeo.ecm.core.event.PostCommitEventListener, which receives a bundle of all the events raised by the original transaction.

If postCommit=true and async=false then the listener is executed synchronously immediately after the original transaction is committed, but in a separate transaction. It is not executed if the original transaction does a rollback. All listeners in this category are executed one after the other (in priority order), and only after they are all done does the main thread continue execution. (However if one of the listeners takes too long it is left to run purely asynchronously and the other listeners in this category are processed.) The class must implement org.nuxeo.ecm.core.event.PostCommitEventListener, which receives a bundle of all the events raised by the original transaction.

The priority gives a global ordering of all the listeners in the same category executed for a given event. The default is 0.

The retryCount specifies how many times a purely asynchronous listener may retry execution if it resulted in a ConcurrentUpdateException. The default is 1.

Contribution Descriptor

Existing Contributions

  • nuxeo-core-storage-sql-7.10-HF07.jar /OSGI-INF/repo-softdelete-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <listener async="false" class="org.nuxeo.ecm.core.storage.sql.SoftDeleteCleanupListener" name="softDeleteCleanup">
          <event>softDeleteCleanup</event>
        </listener>
      </extension>
  • nuxeo-platform-mail-core-7.10.jar /OSGI-INF/nxmail-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <listener async="true" class="org.nuxeo.ecm.platform.mail.listener.MailEventListener" name="mailReceivedListener" postCommit="true" priority="140">
          <event>MailReceivedEvent</event>
        </listener>
      </extension>
  • nuxeo-annot-repo-7.10-HF07.jar /OSGI-INF/annotations-repository-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="true" class="org.nuxeo.ecm.platform.annotations.repository.service.VersionEventListener" name="annotationsVersionEventListener" postCommit="true">
          <event>documentCheckedIn</event>
          <event>documentRemoved</event>
          <event>versionRemoved</event>
          <event>documentRestored</event>
        </listener>
    
        <listener async="false" class="org.nuxeo.ecm.platform.annotations.repository.listener.AnnotationFulltextEventListener" name="annotationFulltextIndexing" postCommit="false">
          <event>annotationCreated</event>
          <event>annotationUpdated</event>
          <event>annotationDeleted</event>
          <event>documentCheckedIn</event>
        </listener>
    
      </extension>
  • nuxeo-core-7.10-HF07.jar /OSGI-INF/orphanVersionRemoval-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <documentation>
          Listener used by DefaultVersionRemovalPolicy to remove the Orphan versions from repository in an async manner.
        </documentation>
        <listener async="true" class="org.nuxeo.ecm.core.versioning.OrphanVersionRemoverListener" name="orphanVersionRemoverListener" postCommit="true">
          <event>orphan_versions_to_remove</event>
        </listener>
    
      </extension>
  • nuxeo-core-7.10-HF07.jar /OSGI-INF/uidgenerator-service.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <documentation>
          Listener to automatically generate uids for documents according to the registered uid generators.
        </documentation>
        <listener async="false" class="org.nuxeo.ecm.core.uidgen.DocUIDGeneratorListener" name="uidlistener" postCommit="false" priority="10">
          <event>documentCreated</event>
        </listener>
      </extension>
  • nuxeo-invite-7.10-HF02.jar /OSGI-INF/user-registration-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="false" class="org.nuxeo.ecm.user.invite.UserInvitationListener" name="invitationListener" postCommit="false" priority="140">
          <event>invitationValidated</event>
        </listener>
    
      </extension>
  • nuxeo-platform-content-template-manager-7.10.jar /OSGI-INF/content-template-listener.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <documentation>
          Listen for Core event DOCUMENT_UPDATED and DOCUMENT_CREATED and call the
          DublinCoreStorageService.
    
          @author Thierry Delprat (td@nuxeo.com)
        </documentation>
    
        <listener async="false" class="org.nuxeo.ecm.platform.content.template.listener.ContentCreationListener" name="templateCreator" postCommit="false" priority="100">
        </listener>
      </extension>
  • nuxeo-core-7.10-HF07.jar /OSGI-INF/lifecycle-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <documentation>
          Listener for life cycle change events.
    
          If event occurs on a folder, it will recurse on children to perform the
          same transition if possible.
    
          If the transition event is about marking documents as "deleted", and a
          child cannot perform the transition, it will be removed.
    
          Undelete transitions are not recursed on the children, however a special
          documentUndeleted event has the same role and is processed by this listener.
        </documentation>
        <listener async="true" class="org.nuxeo.ecm.core.lifecycle.event.BulkLifeCycleChangeListener" name="bulkLifeCycleChangeListener" postCommit="true">
          <event>lifecycle_transition_event</event>
          <event>documentUndeleted</event>
          <event>documentCreatedByCopy</event>
        </listener>
    
      </extension>
  • nuxeo-permissions-7.10-HF07.jar /OSGI-INF/listeners-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="false" class="org.nuxeo.ecm.permissions.PermissionListener" name="permissionListener" postCommit="false">
          <event>documentSecurityUpdated</event>
        </listener>
    
        <listener async="true" class="org.nuxeo.ecm.permissions.PermissionGrantedNotificationListener" name="permissionNotificationListener" postCommit="true">
          <event>permissionNotification</event>
        </listener>
    
        <listener async="true" class="org.nuxeo.ecm.permissions.ACEStatusUpdatedListener" name="aceStatusUpdatedListener" postCommit="true">
          <event>ACEStatusUpdated</event>
        </listener>
    
      </extension>
  • nuxeo-core-7.10-HF07.jar /OSGI-INF/CoreExtensions.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener class="org.nuxeo.ecm.core.model.EmptyNameFixer" name="emptyNameFixer" priority="1000">
          <event>aboutToImport</event>
          <event>aboutToCreate</event>
          <event>aboutToMove</event>
        </listener>
    
        <listener class="org.nuxeo.ecm.core.model.DuplicatedNameFixer" name="duplicatedNameFixer" priority="2000">
          <event>aboutToImport</event>
          <event>aboutToCreate</event>
          <event>aboutToMove</event>
        </listener>
    
      </extension>
  • nuxeo-drive-core-7.10-HF07.jar /OSGI-INF/nuxeodrive-listeners.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <documentation>
          Notify the NuxeoDriveManager service to invalidate
          it's cache when a document is deleted (physically or just the
          trash).
    
          @author Olivier Grisel
        </documentation>
    
        <listener async="false" class="org.nuxeo.drive.listener.NuxeoDriveCacheInvalidationListener" name="nuxeoDriveCacheInvalidationListener" postCommit="false" priority="300">
          <event>lifecycle_transition_event</event>
          <event>documentRemoved</event>
          <event>documentSecurityUpdated</event>
          <event>addedToCollection</event>
          <event>removedFromCollection</event>
        </listener>
    
        <documentation>
          Handle document removal or root unregistration in
          order to be able to
          populate the audit log and hence compute
          consistent change
          summaries for each user.
    
          @author Olivier Grisel
        </documentation>
        <listener async="false" class="org.nuxeo.drive.listener.NuxeoDriveFileSystemDeletionListener" name="nuxeoDriveFileSystemDeletionListener" postCommit="false" priority="200">
          <event>beforeDocumentModification</event>
          <event>aboutToMove</event>
          <event>lifecycle_transition_event</event>
          <event>aboutToRemove</event>
          <event>beforeDocumentSecurityModification</event>
          <event>aboutToUnRegisterRoot</event>
          <event>beforeRemovedFromCollection</event>
        </listener>
    
        <documentation>
          Populate the audit log with virtual events generated by the nuxeoDriveFileSystemDeletionListener.
    
          @author Antoine Taillefer
        </documentation>
        <listener async="true" class="org.nuxeo.drive.listener.NuxeoDriveVirtualEventLogger" name="nuxeoDriveVirtualEventLoggerListener" postCommit="true"/>
    
      </extension>
  • nuxeo-automation-core-7.10-HF07.jar /OSGI-INF/AutomationService.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="false" class="org.nuxeo.ecm.automation.core.events.OperationEventListener" name="opchainlistener" postCommit="false" priority="200">
        </listener>
    
        <listener async="true" class="org.nuxeo.ecm.automation.core.events.PostCommitOperationEventListener" name="opchainpclistener" postCommit="true" priority="200">
        </listener>
    
      </extension>
  • nuxeo-user-profile-7.10.jar /OSGI-INF/listeners-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="false" class="org.nuxeo.ecm.user.center.profile.listeners.ResizeAvatarPictureListener" name="resizeArticlePictureListener" postCommit="false" priority="200">
          <event>beforeDocumentModification</event>
        </listener>
    
        <listener class="org.nuxeo.ecm.user.center.profile.localeProvider.UserLocaleSelectorListener" name="timezoneSelector" priority="200">
          <event>documentModified</event>
          <event>documentCreated</event>
        </listener>
    
      </extension>
  • nuxeo-binary-metadata-7.10-HF03.jar /OSGI-INF/binary-metadata-service.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <listener class="org.nuxeo.binary.metadata.internals.listeners.BinaryMetadataSyncListener" name="binaryMetadataSyncListener" priority="100">
          <event>aboutToCreate</event>
          <event>beforeDocumentModification</event>
        </listener>
        <listener class="org.nuxeo.binary.metadata.internals.listeners.BinaryMetadataWorkListener" name="binaryMetadataWorkSyncListener" priority="100">
          <event>documentCreated</event>
          <event>documentModified</event>
        </listener>
      </extension>
  • nuxeo-elasticsearch-core-7.10-HF06.jar /OSGI-INF/listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="false" class="org.nuxeo.elasticsearch.listener.ElasticSearchInlineListener" enabled="true" name="elasticSearchInlineListener" postCommit="false" priority="500">
          <event>beforeDocumentModification</event>
          <event>documentCreated</event>
          <event>documentCreatedByCopy</event>
          <event>documentMoved</event>
          <event>lifecycle_transition_event</event>
          <event>documentSecurityUpdated</event>
          <event>documentRemoved</event>
          <event>sessionSaved</event>
          <event>documentCheckedOut</event>
          <event>documentCheckedIn</event>
          <event>binaryTextUpdated</event>
          <event>documentTagUpdated</event>
          <event>documentProxyUpdated</event>
          <event>childrenOrderChanged</event>
        </listener>
    
      </extension>
  • nuxeo-platform-collections-core-7.10-HF03.jar /OSGI-INF/collection-event-handlers-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <listener class="org.nuxeo.ecm.collections.core.listener.DuplicatedCollectionListener" name="duplicatedCollectionListener">
          <event>documentCreatedByCopy</event>
          <event>documentCheckedIn</event>
        </listener>
        <listener class="org.nuxeo.ecm.collections.core.listener.RemovedCollectionListener" name="removedCollectionListener">
          <event>documentRemoved</event>
        </listener>
        <listener class="org.nuxeo.ecm.collections.core.listener.RestoredCollectionListener" name="restoredCollectionListener">
          <event>beforeRestoringDocument</event>
        </listener>
      </extension>
  • nuxeo-core-cache-7.10-HF06.jar /OSGI-INF/transientstore-service.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <listener async="false" class="org.nuxeo.ecm.core.transientstore.TransientStorageGCTrigger" name="transientStoreGCTrigger" postCommit="false">
          <event>transientStoreGCStart</event>
        </listener>
      </extension>
  • nuxeo-routing-core-7.10-HF07.jar /OSGI-INF/document-routing-cleanup-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <listener class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingWorkflowInstancesCleanup" name="workflowInstancesCleanup">
          <event>workflowInstancesCleanup</event>
        </listener>
      </extension>
  • nuxeo-platform-filemanager-core-listener-7.10.jar /OSGI-INF/filemanager-digestcomputer-event-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <documentation>
          Listen for Core event DOCUMENT_UPDATED and DOCUMENT_CREATED and generates digests
          for blobs according to filemanager configuration.
          @author Thierry Delprat (td@nuxeo.com)
         </documentation>
        <listener async="false" class="org.nuxeo.ecm.platform.filemanager.core.listener.DigestComputer" name="digestListener" postCommit="false" priority="140">
        </listener>
      </extension>
  • nuxeo-core-management-7.10.jar /OSGI-INF/listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <listener async="false" class="org.nuxeo.ecm.core.management.events.EventCounterListener" name="CounterListener" postCommit="true" priority="1000">
        </listener>
      </extension>
  • nuxeo-core-event-7.10-HF07.jar /OSGI-INF/workmanager-config.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <listener async="false" class="org.nuxeo.ecm.core.work.WorkManagerCleanupListener" name="workManagerCleanup">
          <event>workManagerCleanup</event>
        </listener>
      </extension>
  • nuxeo-template-rendering-core-7.10-HF02.jar /OSGI-INF/listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <listener async="false" class="org.nuxeo.template.listeners.TemplateInitListener" name="documenttemplate-init" postCommit="false" priority="500">
          <event>aboutToCreate</event>
          <event>beforeDocumentModification</event>
        </listener>
    
        <listener async="false" class="org.nuxeo.template.listeners.TemplateDeletionGuard" name="documenttemplate-deletionguard" postCommit="false" priority="500">
          <event>aboutToRemove</event>
        </listener>
    
        <listener async="true" class="org.nuxeo.template.listeners.TemplateTypeBindingListener" name="documenttemplate-type-binding" priority="500">
          <event>documentCreated</event>
          <event>documentModified</event>
        </listener>
    
      </extension>
  • nuxeo-platform-dublincore-7.10-HF04.jar /OSGI-INF/nxdublincore-service.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <documentation>
          Listen for Core event DOCUMENT_UPDATED and DOCUMENT_CREATED and call the
          DublinCoreStorageService.
    
          @author Thierry Delprat (td@nuxeo.com)
        </documentation>
    
        <listener async="false" class="org.nuxeo.ecm.platform.dublincore.listener.DublinCoreListener" name="dclistener" postCommit="false" priority="120">
          <event>documentCreated</event>
          <event>beforeDocumentModification</event>
          <event>documentPublished</event>
          <event>lifecycle_transition_event</event>
          <event>documentCreatedByCopy</event>
        </listener>
    
      </extension>
  • nuxeo-platform-filemanager-core-listener-7.10.jar /OSGI-INF/filemanager-iconupdater-event-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <documentation>
          Computes the mimetype of dirty blob fields and updates the document icon if necessary.
         </documentation>
        <listener async="false" class="org.nuxeo.ecm.platform.filemanager.core.listener.MimetypeIconUpdater" name="mimetypeIconUpdater" postCommit="false" priority="120">
          <event>aboutToCreate</event>
          <event>beforeDocumentModification</event>
        </listener>
      </extension>
  • nuxeo-platform-tag-core-7.10.jar /OSGI-INF/tag-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
    		<listener class="org.nuxeo.ecm.platform.tag.TaggedVersionListener" name="taggedVersionListener">
    			<event>documentCheckedIn</event>
    			<event>documentRestored</event>
    			<event>documentProxyPublished</event>
    		    <event>documentRemoved</event>
    			<event>lifecycle_transition_event</event>
    		</listener>
    
    	</extension>
  • nuxeo-platform-filemanager-core-listener-7.10.jar /OSGI-INF/filemanager-unicity-event-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <documentation>
          Listen for Core event DOCUMENT_UPDATED and DOCUMENT_CREATED and check for existing duplicated blobs in the db
         </documentation>
        <listener async="true" class="org.nuxeo.ecm.platform.filemanager.core.listener.AsynchronousUnicityCheckListener" name="unicityListener" postCommit="true" priority="140">
          <event>documentCreated</event>
          <event>documentModified</event>
        </listener>
      </extension>
  • nuxeo-platform-publisher-core-7.10.jar /OSGI-INF/publisher-listeners-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="false" class="org.nuxeo.ecm.platform.publisher.listeners.DomainEventsListener" name="domainCreationListener" postCommit="true" priority="140">
          <event>documentCreated</event>
          <event>documentModified</event>
          <event>documentRemoved</event>
          <event>documentMoved</event>
          <event>lifecycle_transition_event</event>
        </listener>
    
      </extension>
  • nuxeo-platform-notification-core-7.10.jar /OSGI-INF/notification-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <documentation>
          Copy relations from the source document to the newly published proxy.
        </documentation>
    
        <listener async="false" class="org.nuxeo.ecm.platform.ec.notification.ProxySubscriptionPropagationListener" name="proxySubscriptionPropagationListener" postCommit="false" priority="-20">
          <event>documentProxyPublished</event>
        </listener>
    
        <documentation>
         Then the notifications to subscribed users.
        </documentation>
    
        <listener async="true" class="org.nuxeo.ecm.platform.ec.notification.NotificationEventListener" name="notificationListener" postCommit="true" priority="120">
        </listener>
    
      </extension>
  • nuxeo-platform-task-automation-7.10-HF04.jar /OSGI-INF/operations-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <listener async="false" class="org.nuxeo.ecm.automation.task.event.TaskEndedEventListener" name="automationTaskListener" postCommit="false" priority="200">
          <event>workflowTaskCompleted</event>
          <event>workflowTaskRejected</event>
        </listener>
      </extension>
  • nuxeo-platform-relations-core-listener-7.10.jar /OSGI-INF/relations-core-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <documentation>
          Deletes existing relations on a document when it is removed.
        </documentation>
    
        <!-- NXP-4951: disable this listener for most common use cases -->
        <!-- 
          <listener name="publishRelationsListener" async="false" postCommit="false"
          class="org.nuxeo.ecm.platform.relations.core.listener.PublishRelationsListener"
          priority="-50">
          <event>documentProxyPublished</event>
          </listener>
        -->
    
        <listener async="false" class="org.nuxeo.ecm.platform.relations.core.listener.DeleteRelationsListener" name="deleteRelationsListener" postCommit="false" priority="-40">
          <event>documentRemoved</event>
        </listener>
    
      </extension>
  • nuxeo-platform-user-registration-core-7.10-HF02.jar /OSGI-INF/user-registration-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
    	<listener async="false" class="org.nuxeo.ecm.user.registration.UserRegistrationListener" name="registrationListener" postCommit="false" priority="140">
          <event>registrationValidated</event>
        </listener>
        <listener async="false" class="org.nuxeo.ecm.user.registration.RegistrationCleanerListener" name="registrationCleaner" postCommit="false" priority="200">
          <event>documentRemoved</event>
        </listener>
    
      </extension>
  • nuxeo-routing-core-7.10-HF07.jar /OSGI-INF/document-routing-listeners-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="false" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingUpdateCommentsInfoListener" name="updateCommentsInfoListener" postCommit="false" priority="120">
          <event>commentAdded</event>
          <event>commentRemoved</event>
        </listener>
    
        <listener async="false" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRouteCreationListener" name="routeCreatedListener" postCommit="false" priority="200">
          <event>documentCreated</event>
        </listener>
        
        <listener async="false" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingSecurityListener" name="securityListener" postCommit="false" priority="120">
          <event>beforeRouteReady</event>
        </listener>
        
        <listener async="false" class="org.nuxeo.ecm.platform.routing.core.listener.RoutingTaskSecurityUpdaterListener" name="routingSecurityUpdaterForActors" postCommit="false" priority="250">
          <event>workflowTaskAssigned</event>
          <event>workflowTaskReassigned</event>
          <event>workflowTaskDelegated</event>
        </listener>
        
        <listener async="true" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingEscalationListener" name="triggerEsclationRules">
          <event>executeEscalationRules</event>
        </listener>
    
        <listener async="true" class="org.nuxeo.ecm.platform.routing.core.listener.DocumentRoutingWorkflowDoneListener" name="cleanOpenTasksOnWorkflowDone">
          <event>afterRouteFinish</event>
        </listener>
        
        <listener async="true" class="org.nuxeo.ecm.platform.routing.core.listener.RoutingTaskDeletedListener" name="deleteRoutingTaskListener">
          <event>aboutToRemove</event>
        </listener>
    
      </extension>
  • nuxeo-core-7.10-HF07.jar /OSGI-INF/scheduler-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <listener async="true" class="org.nuxeo.ecm.core.security.UpdateACEStatusListener" name="updateACEStatus">
          <event>updateACEStatus</event>
        </listener>
      </extension>
  • nuxeo-platform-video-core-7.10.jar /OSGI-INF/video-listeners-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="false" class="org.nuxeo.ecm.platform.video.listener.VideoChangedListener" name="videoChangedListener" postCommit="false" priority="20">
          <event>documentCreated</event>
          <event>beforeDocumentModification</event>
        </listener>
    
        <listener async="true" class="org.nuxeo.ecm.platform.video.listener.VideoStoryboardListener" name="videoStoryboardListener" postCommit="true" priority="10">
          <event>videoChanged</event>
        </listener>
    
        <listener async="true" class="org.nuxeo.ecm.platform.video.listener.VideoAutomaticConversionListener" name="videoAutomaticConversions" postCommit="true" priority="20">
          <event>videoChanged</event>
        </listener>
    
      </extension>
  • nuxeo-platform-htmlsanitizer-7.10.jar /OSGI-INF/htmlsanitizer-service.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
        <description>
          Listener that runs (very early) the HTML Sanitizer.
        </description>
        <listener async="false" class="org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerListener" name="htmlsanitizerlistener" postCommit="false" priority="-10">
        </listener>
      </extension>
  • nuxeo-thumbnail-7.10.jar /OSGI-INF/thumbnail-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="true" class="org.nuxeo.ecm.platform.thumbnail.listener.UpdateThumbnailListener" name="updateThumbListener" postCommit="true" priority="999">
          <event>scheduleThumbnailUpdate</event>
        </listener>
        <listener async="false" class="org.nuxeo.ecm.platform.thumbnail.listener.CheckBlobUpdateListener" name="checkBlobUpdate" postCommit="false" priority="999">
          <event>documentCreated</event>
          <event>beforeDocumentModification</event>
        </listener>
      </extension>
  • nuxeo-platform-imaging-core-7.10-HF06.jar /OSGI-INF/listeners-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="false" class="org.nuxeo.ecm.platform.picture.listener.PictureChangedListener" name="pictureChangedListener" postCommit="false" priority="20">
          <event>aboutToCreate</event>
          <event>beforeDocumentModification</event>
        </listener>
    
        <!-- deprecated since 7.2 -->
        <listener async="true" class="org.nuxeo.ecm.platform.picture.listener.PictureViewListener" enabled="false" name="pictureViewListener" postCommit="true" priority="20">
          <event>updatePictureView</event>
        </listener>
    
        <listener async="false" class="org.nuxeo.ecm.platform.picture.listener.PictureViewsGenerationListener" name="pictureViewsGenerationListener" postCommit="false" priority="20">
          <event>documentCreated</event>
          <event>documentModified</event>
        </listener>
    
      </extension>
  • nuxeo-platform-comment-7.10-HF03.jar /OSGI-INF/comment-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="false" class="org.nuxeo.ecm.platform.comment.listener.CommentRemovedEventListener" name="commentListener" postCommit="true">
          <event>documentRemoved</event>
        </listener>
    
        <listener async="true" class="org.nuxeo.ecm.platform.comment.listener.DocumentRemovedCommentEventListener" name="docRemovedCommentListener" postCommit="true">
          <event>documentRemoved</event>
        </listener>
    
      </extension>
  • nuxeo-platform-task-core-7.10-HF05.jar /OSGI-INF/task-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    		<listener async="false" class="org.nuxeo.ecm.platform.task.core.listener.DeleteTaskForDeletedDocumentListener" name="removeProcessForDeletedDocument" postCommit="false">
    			<event>aboutToRemove</event>
    		</listener>
    	</extension>
  • nuxeo-platform-rendition-publisher-7.10.jar /OSGI-INF/rendition-publisher-relations-listener-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <documentation>
          Copies the relations from a replaced proxy to the new
          proxy.
        </documentation>
    
        <listener async="false" class="org.nuxeo.ecm.platform.relations.core.listener.PublishRelationsListener" name="publishRelationsListener" postCommit="false" priority="50">
          <event>renditionProxyPublished</event>
        </listener>
    
      </extension>
  • nuxeo-platform-types-core-7.10.jar /OSGI-INF/listeners-contrib.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="false" class="org.nuxeo.ecm.platform.types.localconfiguration.UITypesConfigurationListener" name="uiTypesLocalConfigurationListener" postCommit="false" priority="100">
          <event>beforeDocumentModification</event>
        </listener>
    
      </extension>
  • nuxeo-platform-audit-core-7.10-HF01.jar /OSGI-INF/nxaudit-service.xml
    <extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    
        <listener async="true" class="org.nuxeo.ecm.platform.audit.listener.AuditEventLogger" name="auditLoggerListener" postCommit="true"/>
    
      </extension>