aboutsummaryrefslogtreecommitdiffstats
path: root/prh-app-server/src/main/resources/scheduled-context.xml
blob: 82067c17f7b9ae162dd26bd3d47ca23203d6c915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:context="http://www.springframework.org/schema/context"
  xmlns:task="http://www.springframework.org/schema/task"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://www.springframework.org/schema/beans"
  xsi:schemaLocation="http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.0.xsd
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">

  <context:component-scan
    base-package="org.onap.dcaegen2.services.prh"/>
  <task:scheduled-tasks>
    <task:scheduled fixed-rate="1000" method="startTasks"
      ref="scheduleController"/>
  </task:scheduled-tasks>
</beans>