Platform Explorer / Nuxeo Platform 8.2

Contribution org.nuxeo.ecm.user.center.profile.listeners.contrib--listener

This contribution is part of XML component org.nuxeo.ecm.user.center.profile.listeners.contrib inside nuxeo-user-profile-8.2.jar /OSGI-INF/listeners-contrib.xml

Extension point

Extension point listener of component EventServiceComponent.

Contributed items

  • <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>

XML source

<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>