Platform Explorer / server 10.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-10.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>