public class PageElementCachePolicyExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<PageElementCachePolicy>
PageElementCachePolicy
.Modifier and Type | Field and Description |
---|---|
private Map<String,Set<PageElementCachePolicy>> |
_policies |
_cocoonManager, _context, _manager
Constructor and Description |
---|
PageElementCachePolicyExtensionPoint() |
Modifier and Type | Method and Description |
---|---|
Set<PageElementCachePolicy> |
getPolicies(String pageElementType)
Returns all
PageElementCachePolicy associated with the given page element type. |
void |
initializeExtensions()
Finalize the initialization of the extensions.
This method is called after all addExtension() calls.This is the last step before the actual startup of the application. |
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, service
getLogger, setLogger
private Map<String,Set<PageElementCachePolicy>> _policies
public PageElementCachePolicyExtensionPoint()
public void initializeExtensions() throws Exception
ExtensionPoint
addExtension()
calls.initializeExtensions
in interface ExtensionPoint<PageElementCachePolicy>
initializeExtensions
in class AbstractThreadSafeComponentExtensionPoint<PageElementCachePolicy>
Exception
- if something wrong occurspublic Set<PageElementCachePolicy> getPolicies(String pageElementType)
PageElementCachePolicy
associated with the given page element type.pageElementType
- the element type.PageElementCachePolicy
.