Class TemplateCacheExtensionManager
java.lang.Object
org.broadleafcommerce.common.extension.ExtensionManager<TemplateCacheExtensionHandler>
org.broadleafcommerce.common.extension.TemplateCacheExtensionManager
- All Implemented Interfaces:
InvocationHandler,ExtensionHandler,TemplateCacheExtensionHandler
@Service("blTemplateCacheExtensionManager")
public class TemplateCacheExtensionManager
extends ExtensionManager<TemplateCacheExtensionHandler>
implements TemplateCacheExtensionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExtensionManagerOperationstatic final ExtensionManagerOperationFields inherited from class org.broadleafcommerce.common.extension.ExtensionManager
extensionHandler, handlers, handlersSorted, LOCK_OBJECT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTemplateCacheKey(Object key, String template, ExtensionResultHolder<Object> resultHolder) getTemplateName(Object key, ExtensionResultHolder<Object> result) booleanIf false, the ExtensionManager should skip this Handler.Methods inherited from class org.broadleafcommerce.common.extension.ExtensionManager
continueOnHandled, execute, getHandlers, getPriority, getProxy, invoke, registerHandler, setHandlers, shouldContinue, sortHandlersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler
getPriority
-
Field Details
-
getTemplateCacheKeyOperation
-
getTemplateNameOperation
-
-
Constructor Details
-
TemplateCacheExtensionManager
public TemplateCacheExtensionManager()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Description copied from interface:ExtensionHandlerIf false, the ExtensionManager should skip this Handler.- Specified by:
isEnabledin interfaceExtensionHandler- Returns:
-
getTemplateCacheKey
public ExtensionResultStatusType getTemplateCacheKey(Object key, String template, ExtensionResultHolder<Object> resultHolder) - Specified by:
getTemplateCacheKeyin interfaceTemplateCacheExtensionHandler
-
getTemplateName
- Specified by:
getTemplateNamein interfaceTemplateCacheExtensionHandler
-