4 Replies Latest reply on Oct 19, 2005 9:44 AM by belaban

    Refactoring JBossCache interceptor chain construction

    manik

      Ref:
      http://jira.jboss.com/jira/browse/JBCACHE-338

      I'm looking into JBCACHE-338 before I start looking at any more new features for 1.3 (invalidation, cache loader chaining/clustering, buddy replication) - does anyone have any issue around my moving the cache loader construction logic from TreeCache to a separate InterceptorChainBuilder class? This class could then grow to have more complexity such as interceptor configuration, the use of custom interceptor chains for 'advanced' users, etc.

      Here is what I foresee:

      interceptor_chain = InterceptorChainBuilder.getInstance(this).buildInterceptorChain();
      

      to replace:

      createInterceptorChain();
      

      in TreeCache._createService().