public class WebFrameworkConfigElement extends org.springframework.extensions.config.element.ConfigElementAdapter implements WebFrameworkConfigProperties
| Modifier and Type | Class and Description |
|---|---|
static class |
WebFrameworkConfigElement.Descriptor
Base for all Descriptor classes.
|
static class |
WebFrameworkConfigElement.ErrorHandlerDescriptor |
static class |
WebFrameworkConfigElement.FormatDescriptor |
static class |
WebFrameworkConfigElement.PersisterConfigDescriptor |
static class |
WebFrameworkConfigElement.ResourceLoaderDescriptor |
static class |
WebFrameworkConfigElement.ResourceResolverDescriptor |
static class |
WebFrameworkConfigElement.RuntimeConfigDescriptor |
static class |
WebFrameworkConfigElement.SystemPageDescriptor |
static class |
WebFrameworkConfigElement.TagLibraryDescriptor |
static class |
WebFrameworkConfigElement.TypeDescriptor |
attributes, children, name, valueAUTO_MODULE_DEPLOYMENT, MANUAL_MODULE_DEPLOYMENT| Constructor and Description |
|---|
WebFrameworkConfigElement()
Default Constructor
|
public static final String MODE_DEVELOPMENT
public static final String MODE_PRODUCTION
public static final String DEFAULT_WEBFRAMEWORK_USER_FACTORY_ID
public static final String DEFAULT_WEBFRAMEWORK_MODEL_OBJECT_SEARCH_PATH_ID
public static final String DEFAULT_WEBFRAMEWORK_MODEL_OBJECT_STORE_ID
public static final String CONFIG_ELEMENT_ID
protected HashMap<String,WebFrameworkConfigElement.FormatDescriptor> formats
protected HashMap<String,WebFrameworkConfigElement.ErrorHandlerDescriptor> errorHandlers
protected HashMap<String,WebFrameworkConfigElement.SystemPageDescriptor> systemPages
protected HashMap<String,WebFrameworkConfigElement.TagLibraryDescriptor> tagLibraries
protected HashMap<String,WebFrameworkConfigElement.TypeDescriptor> types
protected HashMap<String,WebFrameworkConfigElement.ResourceLoaderDescriptor> resourceLoaders
protected HashMap<String,WebFrameworkConfigElement.ResourceResolverDescriptor> resourceResolvers
protected HashMap<String,WebFrameworkConfigElement.RuntimeConfigDescriptor> runtimeConfigs
protected boolean isTimerEnabled
protected String defaultLinkBuilderFactoryId
protected String defaultRequestContextFactoryId
protected String defaultUserFactoryId
protected String defaultFormatId
protected String defaultRegionChrome
protected String defaultComponentChrome
protected String defaultSubComponentChrome
protected String defaultTheme
protected String defaultSiteConfiguration
protected String surfBug
The Spring Surf configuration for an application can specify a SurfBug object to use for debugging. All though multiple versions of SurfBug can be defined only one will ever be used for debugging.
protected String defaultPersisterId
protected WebFrameworkConfigElement.PersisterConfigDescriptor persisterConfigDescriptor
protected String autowireModeId
protected String autowireRuntimeId
protected String moduleDeploymentMode
protected Boolean enableAutoDeployModules
protected Boolean useChecksumDependencies
protected Boolean generateCssDataImages
protected Boolean aggregateDependencies
protected Boolean calculateWebScriptDependencies
protected Boolean enableRemoteResourceHandling
protected Boolean enableExtensionModulesOnGuestPages
protected Boolean enableDynamicExtensions
protected Boolean disableResourceCaching
protected Boolean loginCookiesEnabled
public static final String DOJO_CONFIG
public static final String DOJO_ENABLED
public static final String DOJO_LOADER_TRACE_ENABLED
public static final String DOJO_BOOTSTRAP_FILE
public static final String DOJO_PAGE_WIDGETS
public static final String DOJO_BASE_URL
public static final String DOJO_PACKAGES
public static final String DOJO_PACKAGE
public static final String DOJO_PACKAGE_NAME
public static final String DOJO_PACKAGE_LOCATION
public static final String DOJO_PACKAGE_MAIN
public static final String DOJO_MESSAGES_OBJECT
public static final String DOJO_MESSAGES_DEFAULT_SCOPE
public static final String DOJO_DEFAULT_LESS_CONFIG
public static final String AIKAU_VERSION
protected Boolean dojoEnabled
protected Boolean dojoLoaderTraceEnabled
protected String dojoBootstrapFile
protected String dojoPageWidget
protected String dojoBaseUrl
protected String dojoMessagesObject
protected String dojoMessagesDefaultScope
protected String dojoDefaultLessConfig
protected String aikauVersion
public boolean isSurfBugEnabled()
Indicates whether or not SurfBug is enabled
true if SurfBug is enabled and false otherwise.public void setSurfBugEnabled(boolean surfBugEnabled)
Updates the status of SurfBug to indicate whether it is enabled or disabled. This method has been provided to be invoked by the toggle_surfbug WebScript.
surfBugEnabled - booleanpublic String getSurfBug()
Retrieves the configured SurfBug type for the application. There should always be and instance of SurfBug as one is defined in the default configuration.
public org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement element)
combine in interface org.springframework.extensions.config.ConfigElementcombine in class org.springframework.extensions.config.element.ConfigElementAdapterpublic String[] getFormatIds()
getFormatIds in interface WebFrameworkConfigPropertiespublic WebFrameworkConfigElement.FormatDescriptor getFormatDescriptor(String id)
getFormatDescriptor in interface WebFrameworkConfigPropertiespublic String[] getErrorHandlerIds()
getErrorHandlerIds in interface WebFrameworkConfigPropertiespublic WebFrameworkConfigElement.ErrorHandlerDescriptor getErrorHandlerDescriptor(String id)
getErrorHandlerDescriptor in interface WebFrameworkConfigPropertiespublic String[] getSystemPageIds()
getSystemPageIds in interface WebFrameworkConfigPropertiespublic WebFrameworkConfigElement.SystemPageDescriptor getSystemPageDescriptor(String id)
getSystemPageDescriptor in interface WebFrameworkConfigPropertiespublic String[] getTagLibraryIds()
getTagLibraryIds in interface WebFrameworkConfigPropertiespublic WebFrameworkConfigElement.TagLibraryDescriptor getTagLibraryDescriptor(String id)
getTagLibraryDescriptor in interface WebFrameworkConfigPropertiespublic Collection<WebFrameworkConfigElement.TypeDescriptor> getTypes()
Returns all the TypeDescriptor instances configured for this WebFrameworkConfigElement
Collection of TypeDescriptor instances.public String[] getTypeIds()
getTypeIds in interface WebFrameworkConfigPropertiespublic WebFrameworkConfigElement.TypeDescriptor getTypeDescriptor(String id)
getTypeDescriptor in interface WebFrameworkConfigPropertiespublic String[] getResourceLoaderIds()
getResourceLoaderIds in interface WebFrameworkConfigPropertiespublic WebFrameworkConfigElement.ResourceLoaderDescriptor getResourceLoaderDescriptor(String id)
getResourceLoaderDescriptor in interface WebFrameworkConfigPropertiespublic String[] getResourceResolverIds()
getResourceResolverIds in interface WebFrameworkConfigPropertiespublic WebFrameworkConfigElement.ResourceResolverDescriptor getResourceResolverDescriptor(String id)
getResourceResolverDescriptor in interface WebFrameworkConfigPropertiespublic boolean isTimerEnabled()
isTimerEnabled in interface WebFrameworkConfigPropertiespublic String getDefaultRegionChrome()
getDefaultRegionChrome in interface WebFrameworkConfigPropertiespublic String getDefaultComponentChrome()
getDefaultComponentChrome in interface WebFrameworkConfigPropertiespublic String getDefaultSubComponentChrome()
public String[] getDefaultPageTypeIds()
getDefaultPageTypeIds in interface WebFrameworkConfigPropertiespublic String getDefaultPageTypeInstanceId(String id)
getDefaultPageTypeInstanceId in interface WebFrameworkConfigPropertiespublic String getDefaultThemeId()
getDefaultThemeId in interface WebFrameworkConfigPropertiespublic String getDefaultSiteConfigurationId()
getDefaultSiteConfigurationId in interface WebFrameworkConfigPropertiespublic String getDefaultFormatId()
getDefaultFormatId in interface WebFrameworkConfigPropertiespublic String getDefaultUserFactoryId()
getDefaultUserFactoryId in interface WebFrameworkConfigPropertiespublic String getDefaultPersisterId()
getDefaultPersisterId in interface WebFrameworkConfigPropertiespublic boolean isAutowireModeDevelopment()
isAutowireModeDevelopment in interface WebFrameworkConfigPropertiespublic boolean isAutowireModeProduction()
isAutowireModeProduction in interface WebFrameworkConfigPropertiespublic String getAutowireModeId()
getAutowireModeId in interface WebFrameworkConfigPropertiespublic String getAutowireRuntimeId()
WebFrameworkConfigPropertiesgetAutowireRuntimeId in interface WebFrameworkConfigPropertiespublic WebFrameworkConfigElement.RuntimeConfigDescriptor getRuntimeConfigDescriptor(String id)
getRuntimeConfigDescriptor in interface WebFrameworkConfigPropertiespublic WebFrameworkConfigElement.PersisterConfigDescriptor getPersisterConfigDescriptor()
getPersisterConfigDescriptor in interface WebFrameworkConfigPropertiespublic String getModuleDeploymentMode()
getModuleDeploymentMode in interface WebFrameworkConfigPropertiespublic boolean isModuleAutoDeployEnabled()
public boolean useChecksumDependencies()
public boolean isGenerateCssDataImagesEnabled()
public boolean isAggregateDependenciesEnabled()
public boolean isCalculateWebScriptDependenciesEnabled()
public boolean isRemoteResourceResolvingEnabled()
public boolean isGuestPageExtensionModulesEnabled()
public boolean isDynamicExtensionModulesEnabled()
public boolean isResourceCachingDisabled()
public boolean isLoginCookiesEnabled()
protected static WebFrameworkConfigElement newInstance(org.dom4j.Element elem)
public boolean isDojoEnabled()
public boolean isDojoLoaderTraceEnabled()
public String getDojoBootstrapFile()
public String getDojoPageWidget()
public String getDojoBaseUrl()
public String getDojoMessagesObject()
public String getDojoMessagesDefaultScope()
public String getDojoDefaultLessConfig()
public String getAikauVersion()
public static void processDojoConfiguration(WebFrameworkConfigElement configElement, org.dom4j.Element elem)
ElementconfigElement - WebFrameworkConfigElementelem - Elementpublic void combineDojoConfiguration(WebFrameworkConfigElement configElement, WebFrameworkConfigElement combinedElement)
configElement - WebFrameworkConfigElementcombinedElement - WebFrameworkConfigElementCopyright © 2005–2016 Alfresco Software. All rights reserved.