Platform Explorer / Nuxeo Platform LTS 2019 10.10

Contribution org.nuxeo.apidoc.listener.contrib--listener

This contribution is part of XML component org.nuxeo.apidoc.listener.contrib inside nuxeo-apidoc-repo-18.0.0-patch-NXP-29565.jar /OSGI-INF/listener-contrib.xml

Documentation

These contributions are used for latest distribution flag update and XML attributes extractions in extension points.

Extension Point

Extension point listener of component EventServiceComponent.

Registration Order

1
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <listener async="false" class="org.nuxeo.apidoc.listener.LatestDistributionsListener" name="latestDistributionsListener" postCommit="false">
          <documentation>
            Updates latest distribution flag.
          </documentation>
          <event>aboutToCreate</event>
          <event>beforeDocumentModification</event>
        </listener>

    Updates latest distribution flag.

  • <listener async="false" class="org.nuxeo.apidoc.listener.AttributesExtractorStater" name="AttributesExtractorStater" postCommit="false">
          <documentation>
            Listener in charge of triggering AttributesExtractorScheduler.
          </documentation>
          <event>aboutToCreate</event>
          <event>beforeDocumentModification</event>
        </listener>

    Listener in charge of triggering AttributesExtractorScheduler.

  • <listener async="false" class="org.nuxeo.apidoc.listener.AttributesExtractorScheduler" name="AttributesExtractorScheduler" postCommit="false" priority="20">
          <description>
            Schedules a work for XML attributes extraction.
          </description>
          <event>documentCreated</event>
          <event>documentModified</event>
        </listener>

    Schedules a work for XML attributes extraction.

XML Source

<extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    <documentation>
      These contributions are used for latest distribution flag update and XML attributes extractions in
      extension points.
    </documentation>

    <listener async="false" class="org.nuxeo.apidoc.listener.LatestDistributionsListener" name="latestDistributionsListener" postCommit="false">
      <documentation>
        Updates latest distribution flag.
      </documentation>
      <event>aboutToCreate</event>
      <event>beforeDocumentModification</event>
    </listener>

    <listener async="false" class="org.nuxeo.apidoc.listener.AttributesExtractorStater" name="AttributesExtractorStater" postCommit="false">
      <documentation>
        Listener in charge of triggering AttributesExtractorScheduler.
      </documentation>
      <event>aboutToCreate</event>
      <event>beforeDocumentModification</event>
    </listener>

    <listener async="false" class="org.nuxeo.apidoc.listener.AttributesExtractorScheduler" name="AttributesExtractorScheduler" postCommit="false" priority="20">
      <description>
        Schedules a work for XML attributes extraction.
      </description>
      <event>documentCreated</event>
      <event>documentModified</event>
    </listener>
  </extension>