Injecting .properties file in Spring
Posted by mansoor - 08/08/07 at 09:08:35 amA few days back I came across a piece of code from Spring here it is :
<bean
id=”propertyConfigurer” class=”org.springframework.beans.factory.config.PropertyPlaceholderConfigurer”>
<property name=”locations”>
<list>
<value>classpath:file.properties</value>
<value>classpath:validation.properties</value>
</list>
</property>
</bean>
Now, what this enables us to do is to inject the values from property file in to Spring Beans, neat isn’t it ?
<bean id=”fileProcessor” class=”a.b.c.d.SomeImpl”>
<property name=”srcFileName” value=”${file.srcFileName}”/>
</bean>
Muhammad Yousuf and Abuld Razzaq
Posted by mansoor - 07/08/07 at 08:08:15 amBefore I make a point here, lets see what Muhammad Yousuf and Abdul Razzaq have done for Pakistan Cricket.
Muhammad Yousuf: over 8000 ODI runs, and one of the leading batsman for Pakistan and in the ICC ranking.
Abdul Razzaq : outstanding all rounder and an exciting and energetic member of team, very calm and quiet.
What did I miss for the above two, i hope i had captured stats in a nutshell, but believe me, the PCB officials, and the PCB selection committee has some issues with them. What kind of issues?, i can’t say, but they are strong enough for them to keep both Yousuf and Abdul Razzaq out of 20/20 Cup.
I hope they would have any more solid reason than just to “Give them rest and keep them fit for the next series”.
New Hosting provider
Posted by mansoor - 06/08/07 at 11:08:41 pmFellows, after having a really successful run with Thoboson Technologies, i had recently moved my hosting to the very famous Dreamhost, the blog is back, so is going to me Hadeedian’s website, which has been under development for ages. Lets hope every thing settles well.
Btw, i will continue criticizing the PCB over their actions, which obviously includes their decision about the Indian Cricket League.
Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds.
Valid XHTML and CSS.