Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 4286

Show
Ignore:
Timestamp:
05/20/08 20:05:40 (8 months ago)
Author:
tmdugan
Message:

-- chica

* removed test code to see if AOP'ing between modules works

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs-modules/chica/metadata/moduleApplicationContext.xml

    r4284 r4286  
    99        <property name="mappings"> 
    1010            <props> 
    11                                 <prop key="/module/@MODULE_ID@/testAOP.form">testAOP</prop> 
    1211                                <prop key="/module/@MODULE_ID@/testCheckin.form">testCheckin</prop> 
    1312                        </props> 
     
    1817                <property name="formView"><value>/module/@MODULE_ID@/testCheckin</value></property> 
    1918                <property name="successView"><value>testCheckin.form</value></property> 
    20         </bean> 
    21         <bean id="testAOP" class="org.openmrs.module.chica.web.TestAOPController"> 
    22                 <property name="commandName"><value>testAOPObject</value></property> 
    23                 <property name="formView"><value>/module/@MODULE_ID@/testAOP</value></property> 
    24                 <property name="successView"><value>testAOP.form</value></property> 
    2519        </bean> 
    2620        <bean parent="serviceContext"> 
  • openmrs-modules/chica/src/org/openmrs/module/chica/advice/TriggerPatientAfterAdvice.java

    r4284 r4286  
    5353                } 
    5454 
    55                 if (method.getName().equals("testAOP")) 
    56                 { 
    57                         System.out.println("test AOP successful"); 
    58                 } 
    59                  
    6055                if (method.getName().equals("fileProcessed")) 
    6156                { 
  • openmrs-modules/chica/src/org/openmrs/module/chica/extension/html/AdminList.java

    r3603 r4286  
    2929                 
    3030                map.put("module/chica/testCheckin.form", "Test checkin through AOP"); 
    31                 map.put("module/chica/testAOP.form", "Test AOP"); 
    3231                return map; 
    3332        } 
  • openmrs-modules/chica/src/org/openmrs/module/chica/impl/ChicaServiceImpl.java

    r4284 r4286  
    5454import org.openmrs.module.dss.util.XMLUtil; 
    5555import org.springframework.transaction.annotation.Transactional; 
    56 import org.w3c.dom.Document; 
    5756 
    5857@Transactional