<?xml version="1.0"?>
<component name="org.nuxeo.ecm.user.registration.listener.contrib.override">

  <require>org.nuxeo.ecm.user.registration.listener.contrib</require>

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

</component>
