Package org.apache.shiro.cache
Interface CacheManagerAware
public interface CacheManagerAware
Interface 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
Modifier and TypeMethodDescriptionvoidsetCacheManager(CacheManager cacheManager) Sets the available CacheManager instance on this component.
-
Method Details
-
setCacheManager
Sets the available CacheManager instance on this component.- Parameters:
cacheManager- the CacheManager instance to set on this component.
-