Package org.ametys.web.cache.pageelement
Class PageElementCachePolicyExtensionPoint
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<PageElementCachePolicy>
-
- org.ametys.web.cache.pageelement.PageElementCachePolicyExtensionPoint
-
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<PageElementCachePolicy>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class PageElementCachePolicyExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<PageElementCachePolicy>
Extension point forPageElementCachePolicy
.
-
-
Field Summary
-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description PageElementCachePolicyExtensionPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<PageElementCachePolicy>
getPolicies(String pageElementType)
Returns allPageElementCachePolicy
associated with the given page element type.void
initializeExtensions()
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, service
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
PageElementCachePolicyExtensionPoint
public PageElementCachePolicyExtensionPoint()
-
-
Method Detail
-
initializeExtensions
public void initializeExtensions() throws Exception
Description copied from interface:ExtensionPoint
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.- Specified by:
initializeExtensions
in interfaceExtensionPoint<PageElementCachePolicy>
- Overrides:
initializeExtensions
in classAbstractThreadSafeComponentExtensionPoint<PageElementCachePolicy>
- Throws:
Exception
- if something wrong occurs
-
getPolicies
public Set<PageElementCachePolicy> getPolicies(String pageElementType)
Returns allPageElementCachePolicy
associated with the given page element type.- Parameters:
pageElementType
- the element type.- Returns:
- a Set of
PageElementCachePolicy
.
-
-