Hmm.  From 2.1.0.GA onwards, I can overload 
ConfigurationFactory.createCache(String, boolean) with createCache(InputStream, 
boolean) and createCache(URL, boolean).

But for 2.0.0, you'd have to spin this by hand, unfortunately, doing something 
like the following:

1.  Subclass org.jboss.cache.factories.XmlConfigurationParser and add a method 
to parse a URL.
2.  In your method, call (protected) method 
XmlConfigurationParser.parseStream(InputStream is)
3.  ... and get a hold of a Configuration object which you can then pass in to 
the ConfigurationFactory.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100744#4100744

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100744
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to