playgrnd
@ 35
playgrnd / jsf-sample / src / main / webapp / WEB-INF / applicationContext.xml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<?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" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd"> <context:annotation-config /> <context:component-scan base-package="com.uralian.sample" /> <bean id="sampleLookupService" class="com.uralian.sample.CustomerLookupServiceImpl"> <property name="sampleCustomers"> <map> <entry key="john"> <bean class="com.uralian.sample.Customer"> <property name="customerId" value="john" /> <property name="firstName" value="John" /> <property name="lastName" value="Doe" /> <property name="balance" value="123.45" /> </bean> </entry> <entry key="jane"> <bean class="com.uralian.sample.Customer"> <property name="customerId" value="jane" /> <property name="firstName" value="Jane" /> <property name="lastName" value="Doe" /> <property name="balance" value="99.55" /> </bean> </entry> </map> </property> </bean> </beans> |
Commits for playgrnd/jsf-sample/src/main/webapp/WEB-INF/applicationContext.xml
Revision | Author | Commited | Message |
---|---|---|---|
35 | snark | Thu 17 Aug, 2017 23:28:40 +0000 | add jsf-sample project |