[jboss-dev-forums] [Design of JBossCache] - Re: JBoss Cache Public API
manik.surtani@jboss.com
do-not-reply at jboss.com
Mon Jun 16 04:54:40 EDT 2008
Re: lifecycle, don't people find it useful to create a cache, then set up stuff, such as register classloaders for regions, register listeners, etc., and then start?
Or should create() really be an initial state that is attained by calling CacheFactory.createCache()?
And then what about stop() and destroy()? Does it not make sense that a cache, once stopped, could be started again - which implies that internal components should not be cleaned up/released? In which case isn't a destroy() necessasry to actually release resources and clean up?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158266#4158266
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158266
More information about the jboss-dev-forums
mailing list