Package org.ametys.plugins.site
Class SiteInformationCache
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.site.SiteInformationCache
-
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
public class SiteInformationCache extends AbstractLogEnabled implements Serviceable, Component
A cache for site information provided by the Back-Office.
-
-
Field Summary
Fields Modifier and Type Field Description static String
BACKOFFICE_PREFIX_IDENTIFIER
Prefix for backoffice synchronized userpopulationsstatic String
ROLE
Avalon Role
-
Constructor Summary
Constructors Constructor Description SiteInformationCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<SiteUrl,Site>
getSites()
Returns the cached informations.void
resetSitesCache()
Clear cached informations.void
service(ServiceManager manager)
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
BACKOFFICE_PREFIX_IDENTIFIER
public static final String BACKOFFICE_PREFIX_IDENTIFIER
Prefix for backoffice synchronized userpopulations- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SiteInformationCache
public SiteInformationCache()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
resetSitesCache
public void resetSitesCache()
Clear cached informations.
-
-