PDA

View Full Version : Parameterizing refresh-check-delay attribute for groovy



arulanandsp
Oct 23rd, 2009, 11:07 AM
Hi,

I have a bean definition as given below


<lang:defaults refresh-check-delay="20000"/>

<lang:groovy id="testDataHandler"
script-source="classpath:com/test/localpackage/modules/TestDataHandler.groovy"
refresh-check-delay="1000" scope="prototype">
</lang:groovy>


I would like to pass the value for "refresh-check-delay" as based on some condition. Is it possible to do?

Thanks.