Package org.apache.shiro.cache
Interface CacheManagerAware
-
public interface CacheManagerAwareInterface implemented by components that utilize a CacheManager and wish that CacheManager to be supplied if one is available.This is used so internal security components that use a CacheManager can be injected with it instead of having to create one on their own.
- Since:
- 0.9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetCacheManager(CacheManager cacheManager)Sets the available CacheManager instance on this component.
-
-
-
Method Detail
-
setCacheManager
void setCacheManager(CacheManager cacheManager)
Sets the available CacheManager instance on this component.- Parameters:
cacheManager- the CacheManager instance to set on this component.
-
-