abrar12

configuration file

Jan 6th, 2015
252
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. test-context.xml
  2. <?xml version="1.0" encoding="UTF-8"?>
  3. <beans xmlns="http://www.springframework.org/schema/beans"
  4. xmlns:context="http://www.springframework.org/schema/context"
  5. xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  6. xmlns:p="http://www.springframework.org/schema/p"
  7. xsi:schemaLocation="
  8. http://www.springframework.org/schema/beans
  9. http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
  10. http://www.springframework.org/schema/context
  11. http://www.springframework.org/schema/context/spring-context-4.0.xsd
  12. http://www.springframework.org/schema/mvc
  13. http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
  14.  
  15. <context:component-scan base-package="com.dataisys.esteem.controllers"/>
  16. <bean id="exampledao" class="org.mockito.Mockito" factory-method="mock">
  17. <constructor-arg value="com.dataisys.esteem.dao.ExampleDaoImpl" />
  18. </bean>
  19.  
  20. </beans>
RAW Paste Data