54 lines
2.7 KiB
XML
54 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
-->
|
|
<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.mifosplatform.accounting.*,
|
|
org.mifosplatform.commands.handler.*,
|
|
org.mifosplatform.commands.service.*,
|
|
org.mifosplatform.commands.*,
|
|
org.mifosplatform.audit.*,
|
|
org.mifosplatform.infrastructure.*,
|
|
org.mifosplatform.scheduledjobs.*,
|
|
org.mifosplatform.organisation.*,
|
|
org.mifosplatform.portfolio.loanaccount.*,
|
|
org.mifosplatform.portfolio.savingsaccount.*,
|
|
org.mifosplatform.portfolio.*,
|
|
org.mifosplatform.useradministration.*">
|
|
<context:exclude-filter expression="org.springframework.stereotype.Controller" type="annotation" />
|
|
</context:component-scan>
|
|
|
|
<bean id="auditorAware" class="org.mifosplatform.infrastructure.core.domain.AuditorAwareImpl" />
|
|
<jpa:auditing auditor-aware-ref="auditorAware" />
|
|
|
|
<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.useradministration.domain" />
|
|
<jpa:repositories base-package="org.mifosplatform.organisation.*.domain" />
|
|
<jpa:repositories base-package="org.mifosplatform.portfolio.*" />
|
|
|
|
<import resource="infrastructure.xml" />
|
|
|
|
<import resource="securityContext.xml" />
|
|
|
|
</beans> |