Interface DatabaseResourceResolverExtensionHandler
- All Superinterfaces:
ExtensionHandler
- All Known Implementing Classes:
AbstractDatabaseResourceResolverExtensionHandler
Extension handler for resolving templates from the database.
- Author:
- Andre Azzolini (apazzolini), bpolster
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionresolveResource(ExtensionResultHolder erh, String resourceName) If this method returns any of the handled conditions inExtensionResultStatusType, the value keyed byDatabaseResourceResolverExtensionHandler.IS_KEYin theExtensionResultHolder's context map will be anInputStreamof the resolved resource's contents.Methods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler
getPriority, isEnabled
-
Field Details
-
IS_KEY
- See Also:
-
-
Method Details
-
resolveResource
If this method returns any of the handled conditions inExtensionResultStatusType, the value keyed byDatabaseResourceResolverExtensionHandler.IS_KEYin theExtensionResultHolder's context map will be anInputStreamof the resolved resource's contents.- Parameters:
erh-resourceName-- Returns:
- whether or not a resource was resolved
-