Changeset 4969 for openmrs/branches/data_synchronization_bidirectional/metadata/api/spring/applicationContext-service.xml
- Timestamp:
- 07/17/08 15:20:10 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/branches/data_synchronization_bidirectional
- Property svn:ignore changed from
build*
dist*
${env.CATALINA_HOME}
docs
.metadata
setup.inf
setup.rpt
to
build*
dist*
${env.CATALINA_HOME}
docs
.metadata
setup.inf
setup.rpt
*.iws
*.ipr
*.iml
- Property svn:ignore changed from
openmrs/branches/data_synchronization_bidirectional/metadata/api/spring/applicationContext-service.xml
r4306 r4969 60 60 <property name="obsService"><ref bean="obsService"/></property> 61 61 <property name="encounterService"><ref bean="encounterService"/></property> 62 <property name="locationService"><ref bean="locationService"/></property> 62 63 <property name="orderService"><ref bean="orderService"/></property> 63 64 <property name="formService"><ref bean="formService"/></property> … … 109 110 <property name="sessionFactory"><ref bean="sessionFactory"/></property> 110 111 </bean> 112 <bean id="locationDAO" class="org.openmrs.api.db.hibernate.HibernateLocationDAO"> 113 <property name="sessionFactory"><ref bean="sessionFactory"/></property> 114 </bean> 111 115 <bean id="orderDAO" class="org.openmrs.api.db.hibernate.HibernateOrderDAO"> 112 116 <property name="sessionFactory"><ref bean="sessionFactory"/></property> … … 213 217 <property name="encounterDAO"><ref bean="encounterDAO"/></property> 214 218 </bean> 219 <bean id="locationServiceTarget" class="org.openmrs.api.impl.LocationServiceImpl"> 220 <property name="locationDAO"><ref bean="locationDAO"/></property> 221 </bean> 215 222 <bean id="orderServiceTarget" class="org.openmrs.api.impl.OrderServiceImpl"> 216 223 <property name="orderDAO"><ref bean="orderDAO"/></property> … … 239 246 <key><value>org.openmrs.reporting.PatientSearch</value></key> 240 247 <bean class="org.openmrs.cohort.impl.PatientSearchCohortDefinitionProvider"/> 248 </entry> 249 <entry> 250 <key><value>org.openmrs.cohort.StaticCohortDefinition</value></key> 251 <bean class="org.openmrs.cohort.impl.StaticCohortDefinitionProvider"/> 241 252 </entry> 242 253 </map> … … 321 332 <list> 322 333 <ref local="authorizationInterceptor"/> 334 <ref local="loggingInterceptor"/> 323 335 </list> 324 336 </property> … … 334 346 <list> 335 347 <ref local="authorizationInterceptor"/> 348 <ref local="loggingInterceptor"/> 336 349 </list> 337 350 </property> … … 346 359 <list> 347 360 <ref local="authorizationInterceptor"/> 361 <ref local="loggingInterceptor"/> 348 362 </list> 349 363 </property> … … 358 372 <list> 359 373 <ref local="authorizationInterceptor"/> 374 <ref local="loggingInterceptor"/> 360 375 </list> 361 376 </property> … … 370 385 <list> 371 386 <ref local="authorizationInterceptor"/> 387 <ref local="loggingInterceptor"/> 372 388 </list> 373 389 </property> … … 382 398 <list> 383 399 <ref local="authorizationInterceptor"/> 400 <ref local="loggingInterceptor"/> 401 </list> 402 </property> 403 <property name="transactionAttributeSource"> 404 <bean class="org.springframework.transaction.annotation.AnnotationTransactionAttributeSource"/> 405 </property> 406 </bean> 407 <bean id="locationService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> 408 <property name="transactionManager"><ref local="transactionManager"/></property> 409 <property name="target"><ref local="locationServiceTarget"/></property> 410 <property name="preInterceptors"> 411 <list> 412 <ref local="authorizationInterceptor"/> 413 <ref local="loggingInterceptor"/> 384 414 </list> 385 415 </property> … … 394 424 <list> 395 425 <ref local="authorizationInterceptor"/> 426 <ref local="loggingInterceptor"/> 396 427 </list> 397 428 </property> … … 406 437 <list> 407 438 <ref local="authorizationInterceptor"/> 439 <ref local="loggingInterceptor"/> 408 440 </list> 409 441 </property> … … 418 450 <list> 419 451 <ref local="authorizationInterceptor"/> 452 <ref local="loggingInterceptor"/> 420 453 </list> 421 454 </property> … … 430 463 <list> 431 464 <ref local="authorizationInterceptor"/> 465 <ref local="loggingInterceptor"/> 432 466 </list> 433 467 </property> … … 442 476 <list> 443 477 <ref local="authorizationInterceptor"/> 478 <ref local="loggingInterceptor"/> 444 479 </list> 445 480 </property> … … 454 489 <list> 455 490 <ref local="authorizationInterceptor"/> 491 <ref local="loggingInterceptor"/> 456 492 </list> 457 493 </property> … … 466 502 <list> 467 503 <ref local="authorizationInterceptor"/> 504 <ref local="loggingInterceptor"/> 468 505 </list> 469 506 </property> … … 502 539 <list> 503 540 <ref local="authorizationInterceptor"/> 541 <ref local="loggingInterceptor"/> 504 542 </list> 505 543 </property> … … 514 552 <list> 515 553 <ref local="authorizationInterceptor"/> 554 <ref local="loggingInterceptor"/> 516 555 </list> 517 556 </property> … … 526 565 <list> 527 566 <ref local="authorizationInterceptor"/> 567 <ref local="loggingInterceptor"/> 528 568 </list> 529 569 </property> … … 538 578 <list> 539 579 <ref local="authorizationInterceptor"/> 580 <ref local="loggingInterceptor"/> 540 581 </list> 541 582 </property> … … 550 591 <list> 551 592 <ref local="authorizationInterceptor"/> 593 <ref local="loggingInterceptor"/> 552 594 </list> 553 595 </property> … … 562 604 <list> 563 605 <ref local="authorizationInterceptor"/> 606 <ref local="loggingInterceptor"/> 564 607 </list> 565 608 </property> … … 574 617 <list> 575 618 <ref local="authorizationInterceptor"/> 619 <ref local="loggingInterceptor"/> 576 620 </list> 577 621 </property> … … 586 630 <list> 587 631 <ref local="authorizationInterceptor"/> 632 <ref local="loggingInterceptor"/> 588 633 </list> 589 634 </property> … … 614 659 --> 615 660 <bean id="authorizationInterceptor" class="org.openmrs.aop.AuthorizationAdvice"/> 661 662 <!-- ************************** LOGGING INTERCEPTOR ************************* --> 663 <!-- 664 This as an AOP "around" advisor that prints logging messages 665 --> 666 <bean id="loggingInterceptor" class="org.openmrs.aop.LoggingAdvice"/> 616 667 617 668