org.jasig.portal.user
Class UserAttributesCacheCleaner
java.lang.Object
org.jasig.portal.user.UserAttributesCacheCleaner
- All Implemented Interfaces:
- EventListener, InitializingBean, ApplicationContextAware, ApplicationListener
public class UserAttributesCacheCleaner
- extends Object
- implements ApplicationListener, ApplicationContextAware, InitializingBean
On configuration this bean will load all beans of type CachingPersonAttributeDaoImpl and store references to
them. When a UserLoggedOutPortalEvent or UserSessionDestroyedPortalEvent are recieved this code will
iterate over all caching DAOs and call the CachingPersonAttributeDaoImpl.removeUserAttributes(String) method
to clear out the caches.
- Version:
- $Revision: 1.1 $
- Author:
- Eric Dalquist
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserAttributesCacheCleaner
public UserAttributesCacheCleaner()
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- Specified by:
setApplicationContext in interface ApplicationContextAware
- Throws:
BeansException
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface InitializingBean
- Throws:
Exception
onApplicationEvent
public void onApplicationEvent(ApplicationEvent event)
- Specified by:
onApplicationEvent in interface ApplicationListener
Copyright © 2010 Jasig. All Rights Reserved.