There still is time to add another factory method - why don't you send me a
patch to DefaultCacheFactory? It would make it into the next rel.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039341#4039341
Reply to the post :
If it helps, I extended DefaultCacheFactory and added my own little factory
method that accepts an input stream.
The method looks like:
public Cache createCache(InputStream is, boolean start) throws
ConfigurationException {
| XmlConfigurationParser parser = new XmlConfigurationParser();
As a workaround, just put your root directory in your classpath and it should
get picked up using the class loader. Not clean in any way, but it *is* a
temporary workaround, after all. :-)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4034549#4034549
Reply
You're right, it should have been carried over. See JBCACHE-1021.
If you want to patch 2.0.0.BETA2, the files changed are:
| org.jboss.cache.CacheFactory
| org.jboss.cache.factories.XmlConfigurationParser
|
You can grab them from CVS HEAD.
Thanks for letting me know about this. :-)
Well, thanks for fixing it. I've been told we can't change the JBoss code, for
license reasons (whatever that means), so I'll just have to figure out some
kind of hack until another release comes out.
Thanks for the quick response.
View the original post :