<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0" name="com.liferay.adaptive.media.document.library.web.internal.counter.DLAMImageCounter" activate="activate" modified="activate" configuration-pid="com.liferay.document.library.configuration.DLFileEntryConfiguration">
  <property name="adaptive.media.key" type="String" value="document-library"/>
  <service>
    <provide interface="com.liferay.adaptive.media.image.counter.AMImageCounter"/>
  </service>
  <reference name="_amImageMimeTypeProvider" interface="com.liferay.adaptive.media.image.mime.type.AMImageMimeTypeProvider" field="_amImageMimeTypeProvider"/>
  <reference name="_amImageValidator" interface="com.liferay.adaptive.media.image.validator.AMImageValidator" field="_amImageValidator"/>
  <reference name="_dlFileEntryLocalService" interface="com.liferay.document.library.kernel.service.DLFileEntryLocalService" field="_dlFileEntryLocalService"/>
  <reference name="_dlFileVersionLocalService" interface="com.liferay.document.library.kernel.service.DLFileVersionLocalService" field="_dlFileVersionLocalService"/>
  <implementation class="com.liferay.adaptive.media.document.library.web.internal.counter.DLAMImageCounter"/>
</scr:component>
