forked from jlkeiper/openmrs-module-amrsmobileforms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/jlkeiper/openmrs-module-a…
…mrsmobileforms into MOB-21
- Loading branch information
Showing
16 changed files
with
119 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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" | ||
xmlns:util="http://www.springframework.org/schema/util" | ||
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 | ||
http://www.springframework.org/schema/util | ||
http://www.springframework.org/schema/util/spring-util-3.0.xsd"> | ||
|
||
<bean parent="serviceContext"> | ||
<property name="moduleService"> | ||
<list> | ||
<value>org.openmrs.module.amrsmobileforms.MobileFormEntryService</value> <!-- service interface name --> | ||
<bean class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> | ||
<property name="transactionManager"> | ||
<ref bean="transactionManager" /> | ||
</property> | ||
<property name="target"> | ||
<bean class="org.openmrs.module.amrsmobileforms.impl.MobileFormEntryServiceImpl"> | ||
<property name="mobileFormEntryDAO"> | ||
<bean class="org.openmrs.module.amrsmobileforms.db.hibernate.HibernateMobileFormEntryDAO"> | ||
<property name="sessionFactory"> | ||
<ref bean="sessionFactory" /> | ||
</property> | ||
</bean> | ||
</property> | ||
</bean> | ||
</property> | ||
<property name="preInterceptors"> | ||
<ref bean="serviceInterceptors" /> | ||
</property> | ||
<property name="transactionAttributeSource"> | ||
<bean class="org.springframework.transaction.annotation.AnnotationTransactionAttributeSource" /> | ||
</property> | ||
</bean> | ||
</list> | ||
</property> | ||
</bean> | ||
|
||
<context:component-scan base-package="org.openmrs.module.amrsmobileforms" /> | ||
|
||
<bean id="sessionFactory" class="org.openmrs.api.db.hibernate.HibernateSessionFactoryBean"> | ||
<property name="configLocations"> | ||
<list> | ||
<value>classpath:hibernate.cfg.xml</value> | ||
<value>classpath:test-hibernate.cfg.xml</value> | ||
</list> | ||
</property> | ||
<property name="mappingJarLocations"> | ||
<ref bean="mappingJarResources"/> | ||
</property> | ||
</bean> | ||
|
||
</beans> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE hibernate-configuration PUBLIC | ||
"-//Hibernate/Hibernate Configuration DTD 3.0//EN" | ||
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> | ||
|
||
<hibernate-configuration> | ||
<session-factory> | ||
<mapping resource="Economic.hbm.xml" /> | ||
<mapping resource="EconomicConceptMap.hbm.xml" /> | ||
<mapping resource="EconomicObject.hbm.xml" /> | ||
<mapping resource="HouseholdMember.hbm.xml" /> | ||
<mapping resource="MobileFormEntryError.hbm.xml" /> | ||
<mapping resource="MobileFormHousehold.hbm.xml" /> | ||
<mapping resource="Survey.hbm.xml" /> | ||
</session-factory> | ||
</hibernate-configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters