- All Implemented Interfaces:
- com.google.inject.Module
public class CacheAnnotationsModule
extends com.google.inject.AbstractModule
Standard cache module for binding all cache interceptors to their respective annotations. This module needs to be part of the
Guice injector instantiation to activate intercepting of the cache annotations.
Every interceptor is bound twice due to the fact that the annotations defining the joinpoints have retention type
Method and Type.
- Version:
- $Revision$
- Author:
- Michael Stachel