[jboss-dev-forums] [Design of JBossCache] - Re: Consolidate delegating cache loader classes [JBCACHE-113

manik.surtani@jboss.com do-not-reply at jboss.com
Tue Jul 17 07:36:53 EDT 2007


Ok, here is what I propose:

1) Remove the DelegatingCacheLoader class.  I don't see any value add here.  TcpDelegatingCacheLoader and LocalDelegatingCacheLoader directly extend AbstractCacheLoader.

2) Add protected methods getCacheLoader()/setCacheLoader() to AbstractDelegatingCacheLoader so all implementors need to do - at a minimum - is to extend the class and call setCacheLoader() in the constructor to set who to delegate to.

WDYT?


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

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



More information about the jboss-dev-forums mailing list