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();
| Configuration c = parser.parseStream(is);
| return createCache(c, start);
| }
|
Of course, it should be possible to _not_ extend the factory and create a cache in a
similar manner.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035949#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...