For this part of your question: > <argument value="src\main\resources\OSGI-INF\ehcache.xml"/> i have used like > this and the constructor is expecting java.io.File.
is the problem that you would like to load the required file from the classpath (and not from the filesystem)? --- A. Soroka Software & Systems Engineering :: Online Library Environment the University of Virginia Library On Oct 29, 2012, at 3:40 AM, nprajeshgowda wrote: > Hi, > > Two things here.. > > 1. I tried the same way u suggested, Which is the class which i can use > other the spring ? > as in i dont want to depend on spring for this class > org.springframework.cache.ehcache.EhCacheManagerFactoryBean, is there a > specific implementation for the same available in blueprint > > 2. When using this <constructor-arg > value="classpath:META-INF/ehcache.xml" /> ,how should the java constructor > look like, Because this thing for my own specific implementation of a class > where i need to load the ehcache.xml i am not getting the correct path. > > <argument value="src\main\resources\OSGI-INF\ehcache.xml"/> i have used > like this and the constructor is expecting java.io.File. > > How can i achieve by using "classpath:META-INF/ehcache.xml" > > BR, > Rajesh > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Integration-of-Ehcache-with-Blueprint-tp5714784p5714787.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
