Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.platform.TemplateSources.listener--listener

This contribution is part of XML component org.nuxeo.platform.TemplateSources.listener inside nuxeo-template-rendering-core-9.10.jar /OSGI-INF/listener-contrib.xml

Extension Point

Extension point listener of component EventServiceComponent.

Contributed Items

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

XML Source

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