Class UserPageCacheObserver
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.cache.AbstractCacheObserver
org.ametys.plugins.userdirectory.observation.UserPageCacheObserver
- All Implemented Interfaces:
- Observer,- LogEnabled,- Serviceable
Observer when the user directory root is updated
 Clear the cache for getting user page- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected UserDirectoryPageResolverThe user directory page resolverFields inherited from interface org.ametys.core.observation.ObserverMAX_PRIORITY, MIN_PRIORITY
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.ametys.web.cache.AbstractCacheObservergetPriorityMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabledgetLogger, setLogger
- 
Field Details- 
_userDirectoryPageResolverThe user directory page resolver
 
- 
- 
Constructor Details- 
UserPageCacheObserverpublic UserPageCacheObserver()
 
- 
- 
Method Details- 
service- Specified by:
- servicein interface- Serviceable
- Throws:
- ServiceException
 
- 
supportsDescription copied from interface:ObserverChecks if the event is supported. If true, the observe(Event) method will be called.
- 
observeDescription copied from interface:ObserverObserves an event.- Specified by:
- observein interface- Observer
- Parameters:
- event- the event.
- transientVars- transientVars passed from one Observer to another when processing a single Event. This may allow optimizations between observers.
- Throws:
- Exception- if an error occurs. All exceptions will be logged but not propagated, as the observation mechanism should never fail.
 
 
-