<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0" name="com.liferay.dynamic.data.mapping.form.field.type.internal.document.library.DocumentLibraryDDMFormFieldTemplateContextContributor" immediate="true">
  <property name="ddm.form.field.type.name" type="String" value="document_library"/>
  <service>
    <provide interface="com.liferay.dynamic.data.mapping.form.field.type.DDMFormFieldTemplateContextContributor"/>
    <provide interface="com.liferay.dynamic.data.mapping.form.field.type.internal.document.library.DocumentLibraryDDMFormFieldTemplateContextContributor"/>
  </service>
  <reference name="_companyLocalService" interface="com.liferay.portal.kernel.service.CompanyLocalService" field="_companyLocalService"/>
  <reference name="_dlAppLocalService" interface="com.liferay.document.library.kernel.service.DLAppLocalService" field="_dlAppLocalService"/>
  <reference name="_groupLocalService" interface="com.liferay.portal.kernel.service.GroupLocalService" field="_groupLocalService"/>
  <reference name="_itemSelector" interface="com.liferay.item.selector.ItemSelector" field="_itemSelector"/>
  <reference name="_portletFileRepository" interface="com.liferay.portal.kernel.portletfilerepository.PortletFileRepository" field="_portletFileRepository"/>
  <reference name="_userLocalService" interface="com.liferay.portal.kernel.service.UserLocalService" field="_userLocalService"/>
  <reference name="dlAppService" interface="com.liferay.document.library.kernel.service.DLAppService" field="dlAppService"/>
  <reference name="html" interface="com.liferay.portal.kernel.util.Html" field="html"/>
  <reference name="jsonFactory" interface="com.liferay.portal.kernel.json.JSONFactory" field="jsonFactory"/>
  <reference name="portal" interface="com.liferay.portal.kernel.util.Portal" field="portal"/>
  <implementation class="com.liferay.dynamic.data.mapping.form.field.type.internal.document.library.DocumentLibraryDDMFormFieldTemplateContextContributor"/>
</scr:component>
