dule.bahmni-ipd-api.1.0.0.source-code.moduleApplicationContext.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bahmni-ipd-api Show documentation
Show all versions of bahmni-ipd-api Show documentation
Bahmni IPD API contains all backend APIs for IPD
<?xml version="1.0" encoding="UTF-8"?> <!-- Beans to add to the current Application context definition --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> <context:component-scan base-package="org.openmrs.module.ipd.api"/> <context:annotation-config/> <context:property-placeholder location="classpath:application.properties"/> <bean id="hibernateSlotDAO" class="org.openmrs.module.ipd.api.dao.impl.HibernateSlotDAO"/> <bean id="slotServiceImpl" class="org.openmrs.module.ipd.api.service.impl.SlotServiceImpl"/> <bean id="slotService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> <property name="transactionManager"> <ref bean="transactionManager"/> </property> <property name="target"> <ref bean="slotServiceImpl"/> </property> <property name="preInterceptors"> <ref bean="serviceInterceptors"/> </property> <property name="transactionAttributeSource"> <ref bean="transactionAttributeSource"/> </property> </bean> <bean parent="serviceContext"> <property name="moduleService"> <list merge="true"> <value>org.openmrs.module.ipd.api.service.SlotService</value> <ref bean="slotService"/> </list> </property> </bean> </beans>