danilo_lr
Sep 30th, 2004, 02:16 PM
I am testing the script groovy support.
I know it use the org.springframework.core.io Resource support to be able to load the resouces from the filesystem or the classpath.
But I need make possible to load the script files from a database. So I need to create database protocol :
<constructor-arg index="0"><value>database:/tmp/CalculoSub.groovy</value></constructor-arg>
How I will implement this generic resource support ?
I know it use the org.springframework.core.io Resource support to be able to load the resouces from the filesystem or the classpath.
But I need make possible to load the script files from a database. So I need to create database protocol :
<constructor-arg index="0"><value>database:/tmp/CalculoSub.groovy</value></constructor-arg>
How I will implement this generic resource support ?