Package net.sf.jasperreports.web.util
Class RequirejsConfigTemplateExtensionFactory
java.lang.Object
net.sf.jasperreports.web.util.RequirejsConfigTemplateExtensionFactory
- All Implemented Interfaces:
ExtensionsRegistryFactory
public class RequirejsConfigTemplateExtensionFactory
extends Object
implements ExtensionsRegistryFactory
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRegistry(String registryId, JRPropertiesMap properties) Instantiates an extensions registry.protected voidsetPaths(String registryId, JRPropertiesMap properties, RequirejsTemplateConfigContributor templateContributor) protected voidsetResources(String registryId, JRPropertiesMap properties, RequirejsTemplateConfigContributor templateContributor)
-
Field Details
-
EXTENSION_PROPERTY_TEMPLATE_PREFIX
- See Also:
-
EXTENSION_PROPERTY_ENABLED_PREFIX
- See Also:
-
EXTENSION_PROPERTY_PATH_PREFIX
- See Also:
-
EXTENSION_PROPERTY_RESOURCE_PREFIX
- See Also:
-
PROPERTY_ENABLED_PREFIX
- See Also:
-
-
Constructor Details
-
RequirejsConfigTemplateExtensionFactory
public RequirejsConfigTemplateExtensionFactory()
-
-
Method Details
-
createRegistry
Description copied from interface:ExtensionsRegistryFactoryInstantiates an extensions registry.- Specified by:
createRegistryin interfaceExtensionsRegistryFactory- Parameters:
registryId- the ID of the registry to instantiate. The ID can be used to identify a set of properties to be used when instantiating the registry.properties- the map of properties that can be used to configure the registry instantiation process- Returns:
- an extensions registry
- See Also:
-
setPaths
protected void setPaths(String registryId, JRPropertiesMap properties, RequirejsTemplateConfigContributor templateContributor) -
setResources
protected void setResources(String registryId, JRPropertiesMap properties, RequirejsTemplateConfigContributor templateContributor)
-