org.apache.shiro.cache
Interface CacheManagerAware

All Known Implementing Classes:
AbstractLdapRealm, ActiveDirectoryRealm, AuthenticatingRealm, AuthenticatingSecurityManager, AuthorizingRealm, AuthorizingSecurityManager, CachingRealm, CachingSecurityManager, CachingSessionDAO, DefaultSecurityManager, DefaultSessionManager, EnterpriseCacheSessionDAO, IniRealm, JdbcRealm, JndiLdapRealm, PropertiesRealm, RealmSecurityManager, SessionsSecurityManager, SimpleAccountRealm, TextConfigurationRealm

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
 void setCacheManager(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.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.