package org.jboss.cache.interceptors;

import org.jgroups.blocks.MethodCall;

/**
 * Always at the end of the chain, directly in front of the cache. Simply calls into the cache using reflection.
 * @author Bela Ban
 * @version $Id: CallInterceptor.java,v 1.1.4.2 2004/09/23 18:42:33 bwang00 Exp $
 */
public class CallInterceptor extends Interceptor {


   public Object invoke(MethodCall m) throws Throwable {
      return m.invoke(cache);
   }
}
