[jboss-user] [JBossCache] - Singleton TreeCache Provider

kalyan120 do-not-reply at jboss.com
Wed Jan 2 14:02:22 EST 2008


Hi,

I want to configure JBossCache as a secondary cache in my application which uses Hibernate to load the data. I have multiple databases to connect to and to load data from each of them. 

I want to be able to make use of the same instance of JBoss Tree Cache to be shared across all the SessionFactories that I have in my JVM. Hence I want it to be a singleton. EHCache provides this facility with SingletonEHCacheProvider implementation. Is there anything similar in JBossCache as well?

Thanks,
Kalyan.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116504



More information about the jboss-user mailing list