public class RequirejsConfigTemplateExtensionFactory extends Object implements ExtensionsRegistryFactory
Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION_PROPERTY_ENABLED_PREFIX |
static String |
EXTENSION_PROPERTY_PATH_PREFIX |
static String |
EXTENSION_PROPERTY_RESOURCE_PREFIX |
static String |
EXTENSION_PROPERTY_TEMPLATE_PREFIX |
static String |
PROPERTY_ENABLED_PREFIX |
Constructor and Description |
---|
RequirejsConfigTemplateExtensionFactory() |
Modifier and Type | Method and Description |
---|---|
ExtensionsRegistry |
createRegistry(String registryId,
JRPropertiesMap properties)
Instantiates an extensions registry.
|
protected void |
setPaths(String registryId,
JRPropertiesMap properties,
RequirejsTemplateConfigContributor templateContributor) |
protected void |
setResources(String registryId,
JRPropertiesMap properties,
RequirejsTemplateConfigContributor templateContributor) |
public static final String EXTENSION_PROPERTY_TEMPLATE_PREFIX
public static final String EXTENSION_PROPERTY_ENABLED_PREFIX
public static final String EXTENSION_PROPERTY_PATH_PREFIX
public static final String EXTENSION_PROPERTY_RESOURCE_PREFIX
public static final String PROPERTY_ENABLED_PREFIX
public RequirejsConfigTemplateExtensionFactory()
public ExtensionsRegistry createRegistry(String registryId, JRPropertiesMap properties)
ExtensionsRegistryFactory
createRegistry
in interface ExtensionsRegistryFactory
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 processDefaultExtensionsRegistry.PROPERTY_REGISTRY_PREFIX
protected void setPaths(String registryId, JRPropertiesMap properties, RequirejsTemplateConfigContributor templateContributor)
protected void setResources(String registryId, JRPropertiesMap properties, RequirejsTemplateConfigContributor templateContributor)
Copyright © 2021 TIBCO Software Inc.. All rights reserved.