<?xml version="1.0" encoding="ISO-8859-1"?>

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
               xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">

  <component>
    <type>org.exoplatform.commons.persistence.impl.EntityManagerService</type>
  </component>

  <component>
    <key>org.exoplatform.task.dao.DAOHandler</key>
    <type>org.exoplatform.task.dao.jpa.DAOHandlerJPAImpl</type>
  </component>

  <component>
    <key>org.exoplatform.task.service.StatusService</key>
    <type>org.exoplatform.task.service.impl.StatusServiceImpl</type>
  </component>

  <component>
    <key>org.exoplatform.task.service.UserService</key>
    <type>org.exoplatform.task.service.impl.UserServiceImpl</type>
  </component>

  <component>
    <key>org.exoplatform.task.service.TaskService</key>
    <type>org.exoplatform.task.service.impl.TaskServiceImpl</type>
  </component>

  <component>
    <key>org.exoplatform.task.service.ProjectService</key>
    <type>org.exoplatform.task.service.impl.ProjectServiceImpl</type>
  </component>

  <component>
    <key>org.exoplatform.task.service.TaskParser</key>
    <type>org.exoplatform.task.service.impl.TaskParserImpl</type>
  </component>    
  
  <component>
    <type>org.exoplatform.task.integration.SpaceTaskAppInstaller</type>
  </component>
  
  <external-component-plugins>
    <target-component>org.exoplatform.commons.api.persistence.DataInitializer</target-component>
    <component-plugin>
      <name>TaskManagementChangeLogsPlugin</name>
      <set-method>addChangeLogsPlugin</set-method>
      <type>org.exoplatform.commons.persistence.impl.ChangeLogsPlugin</type>
      <init-params>
        <values-param>
          <name>changelogs</name>
          <description>Change logs of task management</description>
          <value>db/changelog/task.db.changelog-1.0.0.xml</value>
          <value>db/changelog/task.db.changelog-1.1.0.xml</value>
        </values-param>
      </init-params>
    </component-plugin>
  </external-component-plugins>
</configuration>
