<lang:jruby id="interestCalculator" script-source="classpath:com/apress/springrecipes/interest/ SimpleInterestCalculator.rb" script-interfaces="com.apress.springrecipes.interest.InterestCalculator" refresh-check-delay="5000"> ... </lang:jruby>
注意:一、refresh-check-delay的默認值是負數,因此不會自動探測。