36 lines
2.1 KiB
XML
36 lines
2.1 KiB
XML
<?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:jpa="http://www.springframework.org/schema/data/jpa"
|
|
xmlns:sec="http://www.springframework.org/schema/security"
|
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
|
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd
|
|
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd
|
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
|
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
|
|
|
|
<sec:global-method-security pre-post-annotations="enabled" />
|
|
|
|
<tx:annotation-driven />
|
|
|
|
<context:component-scan base-package="org.mifosng.platform.security, org.mifosng.platform.infrastructure,
|
|
org.mifosng.platform.*.domain, org.mifosng.platform,
|
|
org.mifosplatform.*.*.service, org.mifosplatform.*.*.domain, org.mifosplatform, org.mifosplatform.commands">
|
|
<context:exclude-filter expression="org.springframework.stereotype.Controller" type="annotation" />
|
|
</context:component-scan>
|
|
|
|
<bean id="auditorAware" class="org.mifosng.platform.infrastructure.AuditorAwareImpl" />
|
|
<jpa:auditing auditor-aware-ref="auditorAware" />
|
|
|
|
<jpa:repositories base-package="org.mifosng.platform.*.domain" />
|
|
<jpa:repositories base-package="org.mifosplatform.commands.domain" />
|
|
<jpa:repositories base-package="org.mifosplatform.infrastructure.*.domain" />
|
|
<jpa:repositories base-package="org.mifosplatform.accounting.domain" />
|
|
<jpa:repositories base-package="org.mifosplatform.portfolio.*.domain" />
|
|
|
|
<import resource="infrastructure.xml" />
|
|
|
|
<import resource="securityContext.xml" />
|
|
</beans> |