org.springframework.extensions.config
Class WebFrameworkConfigElement
java.lang.Object
org.springframework.extensions.config.element.ConfigElementAdapter
org.springframework.extensions.config.WebFrameworkConfigElement
- All Implemented Interfaces:
- Serializable, ConfigElement, WebFrameworkConfigProperties
public class WebFrameworkConfigElement
- extends ConfigElementAdapter
- implements WebFrameworkConfigProperties
Web Framework configuration implementation
- Author:
- muzquiano
- See Also:
- Serialized Form
Methods inherited from class org.springframework.extensions.config.element.ConfigElementAdapter |
getAttribute, getAttributeCount, getAttributes, getChild, getChildCount, getChildren, getChildren, getChildrenMap, getChildValue, getName, getValue, hasAttribute, hasChildren, setValue, toString |
MODE_DEVELOPMENT
public static final String MODE_DEVELOPMENT
- See Also:
- Constant Field Values
MODE_PREVIEW
public static final String MODE_PREVIEW
- See Also:
- Constant Field Values
MODE_PRODUCTION
public static final String MODE_PRODUCTION
- See Also:
- Constant Field Values
DEFAULT_WEBFRAMEWORK_PAGE_MAPPER_FACTORY_ID
public static final String DEFAULT_WEBFRAMEWORK_PAGE_MAPPER_FACTORY_ID
- See Also:
- Constant Field Values
DEFAULT_WEBFRAMEWORK_LINK_BUILDER_FACTORY_ID
public static final String DEFAULT_WEBFRAMEWORK_LINK_BUILDER_FACTORY_ID
- See Also:
- Constant Field Values
DEFAULT_WEBFRAMEWORK_REQUEST_CONTEXT_FACTORY_ID
public static final String DEFAULT_WEBFRAMEWORK_REQUEST_CONTEXT_FACTORY_ID
- See Also:
- Constant Field Values
DEFAULT_WEBFRAMEWORK_USER_FACTORY_ID
public static final String DEFAULT_WEBFRAMEWORK_USER_FACTORY_ID
- See Also:
- Constant Field Values
DEFAULT_WEBFRAMEWORK_MODEL_OBJECT_SEARCH_PATH_ID
public static final String DEFAULT_WEBFRAMEWORK_MODEL_OBJECT_SEARCH_PATH_ID
- See Also:
- Constant Field Values
DEFAULT_WEBFRAMEWORK_MODEL_OBJECT_STORE_ID
public static final String DEFAULT_WEBFRAMEWORK_MODEL_OBJECT_STORE_ID
- See Also:
- Constant Field Values
CONFIG_ELEMENT_ID
public static final String CONFIG_ELEMENT_ID
- See Also:
- Constant Field Values
formats
protected HashMap<String,WebFrameworkConfigElement.FormatDescriptor> formats
errorHandlers
protected HashMap<String,WebFrameworkConfigElement.ErrorHandlerDescriptor> errorHandlers
systemPages
protected HashMap<String,WebFrameworkConfigElement.SystemPageDescriptor> systemPages
tagLibraries
protected HashMap<String,WebFrameworkConfigElement.TagLibraryDescriptor> tagLibraries
pageTypes
protected HashMap<String,String> pageTypes
types
protected HashMap<String,WebFrameworkConfigElement.TypeDescriptor> types
resourceLoaders
protected HashMap<String,WebFrameworkConfigElement.ResourceLoaderDescriptor> resourceLoaders
resourceResolvers
protected HashMap<String,WebFrameworkConfigElement.ResourceResolverDescriptor> resourceResolvers
runtimeConfigs
protected HashMap<String,WebFrameworkConfigElement.RuntimeConfigDescriptor> runtimeConfigs
isTimerEnabled
protected boolean isTimerEnabled
defaultPageMapperFactoryId
protected String defaultPageMapperFactoryId
defaultLinkBuilderFactoryId
protected String defaultLinkBuilderFactoryId
defaultRequestContextFactoryId
protected String defaultRequestContextFactoryId
defaultUserFactoryId
protected String defaultUserFactoryId
defaultFormatId
protected String defaultFormatId
defaultRegionChrome
protected String defaultRegionChrome
defaultComponentChrome
protected String defaultComponentChrome
defaultTheme
protected String defaultTheme
defaultSiteConfiguration
protected String defaultSiteConfiguration
defaultPersisterId
protected String defaultPersisterId
persisterConfigDescriptor
protected WebFrameworkConfigElement.PersisterConfigDescriptor persisterConfigDescriptor
autowireModeId
protected String autowireModeId
autowireRuntimeId
protected String autowireRuntimeId
WebFrameworkConfigElement
public WebFrameworkConfigElement()
- Default Constructor
combine
public ConfigElement combine(ConfigElement element)
- Description copied from interface:
ConfigElement
- Combines the given config element with this config element and returns a
new instance containing the resulting combination. The combination of the
two objects MUST NOT change this instance.
- Specified by:
combine
in interface ConfigElement
- Specified by:
combine
in class ConfigElementAdapter
- Parameters:
element
- The config element to combine into this one
- Returns:
- The combined ConfigElement
getFormatIds
public String[] getFormatIds()
- Specified by:
getFormatIds
in interface WebFrameworkConfigProperties
getFormatDescriptor
public WebFrameworkConfigElement.FormatDescriptor getFormatDescriptor(String id)
- Specified by:
getFormatDescriptor
in interface WebFrameworkConfigProperties
getErrorHandlerIds
public String[] getErrorHandlerIds()
- Specified by:
getErrorHandlerIds
in interface WebFrameworkConfigProperties
getErrorHandlerDescriptor
public WebFrameworkConfigElement.ErrorHandlerDescriptor getErrorHandlerDescriptor(String id)
- Specified by:
getErrorHandlerDescriptor
in interface WebFrameworkConfigProperties
getSystemPageIds
public String[] getSystemPageIds()
- Specified by:
getSystemPageIds
in interface WebFrameworkConfigProperties
getSystemPageDescriptor
public WebFrameworkConfigElement.SystemPageDescriptor getSystemPageDescriptor(String id)
- Specified by:
getSystemPageDescriptor
in interface WebFrameworkConfigProperties
getTagLibraryIds
public String[] getTagLibraryIds()
- Specified by:
getTagLibraryIds
in interface WebFrameworkConfigProperties
getTagLibraryDescriptor
public WebFrameworkConfigElement.TagLibraryDescriptor getTagLibraryDescriptor(String id)
- Specified by:
getTagLibraryDescriptor
in interface WebFrameworkConfigProperties
getTypeIds
public String[] getTypeIds()
- Specified by:
getTypeIds
in interface WebFrameworkConfigProperties
getTypeDescriptor
public WebFrameworkConfigElement.TypeDescriptor getTypeDescriptor(String id)
- Specified by:
getTypeDescriptor
in interface WebFrameworkConfigProperties
getResourceLoaderIds
public String[] getResourceLoaderIds()
- Specified by:
getResourceLoaderIds
in interface WebFrameworkConfigProperties
getResourceLoaderDescriptor
public WebFrameworkConfigElement.ResourceLoaderDescriptor getResourceLoaderDescriptor(String id)
- Specified by:
getResourceLoaderDescriptor
in interface WebFrameworkConfigProperties
getResourceResolverIds
public String[] getResourceResolverIds()
- Specified by:
getResourceResolverIds
in interface WebFrameworkConfigProperties
getResourceResolverDescriptor
public WebFrameworkConfigElement.ResourceResolverDescriptor getResourceResolverDescriptor(String id)
- Specified by:
getResourceResolverDescriptor
in interface WebFrameworkConfigProperties
isTimerEnabled
public boolean isTimerEnabled()
- Specified by:
isTimerEnabled
in interface WebFrameworkConfigProperties
getDefaultRegionChrome
public String getDefaultRegionChrome()
- Specified by:
getDefaultRegionChrome
in interface WebFrameworkConfigProperties
getDefaultComponentChrome
public String getDefaultComponentChrome()
- Specified by:
getDefaultComponentChrome
in interface WebFrameworkConfigProperties
getDefaultPageTypeIds
public String[] getDefaultPageTypeIds()
- Specified by:
getDefaultPageTypeIds
in interface WebFrameworkConfigProperties
getDefaultPageTypeInstanceId
public String getDefaultPageTypeInstanceId(String id)
- Specified by:
getDefaultPageTypeInstanceId
in interface WebFrameworkConfigProperties
getDefaultThemeId
public String getDefaultThemeId()
- Specified by:
getDefaultThemeId
in interface WebFrameworkConfigProperties
getDefaultSiteConfigurationId
public String getDefaultSiteConfigurationId()
- Specified by:
getDefaultSiteConfigurationId
in interface WebFrameworkConfigProperties
getDefaultFormatId
public String getDefaultFormatId()
- Specified by:
getDefaultFormatId
in interface WebFrameworkConfigProperties
getDefaultPageMapperFactoryId
public String getDefaultPageMapperFactoryId()
- Specified by:
getDefaultPageMapperFactoryId
in interface WebFrameworkConfigProperties
getDefaultLinkBuilderFactoryId
public String getDefaultLinkBuilderFactoryId()
- Specified by:
getDefaultLinkBuilderFactoryId
in interface WebFrameworkConfigProperties
getDefaultRequestContextFactoryId
public String getDefaultRequestContextFactoryId()
- Specified by:
getDefaultRequestContextFactoryId
in interface WebFrameworkConfigProperties
getDefaultUserFactoryId
public String getDefaultUserFactoryId()
- Specified by:
getDefaultUserFactoryId
in interface WebFrameworkConfigProperties
getDefaultPersisterId
public String getDefaultPersisterId()
- Specified by:
getDefaultPersisterId
in interface WebFrameworkConfigProperties
isAutowireModeDevelopment
public boolean isAutowireModeDevelopment()
- Specified by:
isAutowireModeDevelopment
in interface WebFrameworkConfigProperties
isAutowireModeProduction
public boolean isAutowireModeProduction()
- Specified by:
isAutowireModeProduction
in interface WebFrameworkConfigProperties
isAutowireModePreview
public boolean isAutowireModePreview()
- Specified by:
isAutowireModePreview
in interface WebFrameworkConfigProperties
getAutowireModeId
public String getAutowireModeId()
- Specified by:
getAutowireModeId
in interface WebFrameworkConfigProperties
getAutowireRuntimeId
public String getAutowireRuntimeId()
- Description copied from interface:
WebFrameworkConfigProperties
- AUTOWIRE HELPERS
- Specified by:
getAutowireRuntimeId
in interface WebFrameworkConfigProperties
isPreviewEnabled
public boolean isPreviewEnabled()
- Specified by:
isPreviewEnabled
in interface WebFrameworkConfigProperties
getRuntimeConfigDescriptor
public WebFrameworkConfigElement.RuntimeConfigDescriptor getRuntimeConfigDescriptor(String id)
- Specified by:
getRuntimeConfigDescriptor
in interface WebFrameworkConfigProperties
getPersisterConfigDescriptor
public WebFrameworkConfigElement.PersisterConfigDescriptor getPersisterConfigDescriptor()
- Specified by:
getPersisterConfigDescriptor
in interface WebFrameworkConfigProperties
newInstance
protected static WebFrameworkConfigElement newInstance(org.dom4j.Element elem)
Copyright © 2009 SpringSource, Inc. All Rights Reserved.