<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0" name="com.liferay.blogs.web.internal.upload.TempImageBlogsUploadFileEntryHandler" activate="activate" modified="activate" configuration-pid="com.liferay.blogs.configuration.BlogsFileUploadsConfiguration">
  <service>
    <provide interface="com.liferay.blogs.web.internal.upload.TempImageBlogsUploadFileEntryHandler"/>
  </service>
  <reference name="_uniqueFileNameProvider" interface="com.liferay.upload.UniqueFileNameProvider" field="_uniqueFileNameProvider"/>
  <reference name="blogsLocalService" interface="com.liferay.blogs.service.BlogsEntryLocalService" field="blogsLocalService"/>
  <reference name="portletFileRepository" interface="com.liferay.portal.kernel.portletfilerepository.PortletFileRepository" field="portletFileRepository"/>
  <reference name="portletResourcePermission" interface="com.liferay.portal.kernel.security.permission.resource.PortletResourcePermission" target="(resource.name=com.liferay.blogs)" field="portletResourcePermission"/>
  <implementation class="com.liferay.blogs.web.internal.upload.TempImageBlogsUploadFileEntryHandler"/>
</scr:component>
