All following files are loaded into the application context automatically with
cae-component
, except for controller-services.xml
,
which is provided for backwards compatibility.
CAE Component Configuration
Service or Extension Point Definition | Type |
---|---|
richtextMarkupView | XmlMarkupView |
blobView | MultiRangeBlobView |
viewHookEventView | ViewHookEventView |
programmedViews |
Map<String, View>
Extension point to register programmed views, initialized to
(Markup
:= |
fallbackViewRepository |
Default ViewRepository
implementation, loading templates from /WEB-INF/templates-fallback
and using richtextMarkupView , blobView , errorView ,
viewExceptionRenderer , and viewEngines .
|
templateLocations |
Map<String, String>
Extension point to register additional template locations with
|
templateLocationPatterns |
List<String>
Extension point to register additional template location path patterns with
|
templateViewRepositoryProvider |
Default
ViewRepositoryProvider
implementation, initialized with
|
Table 5.2. META-INF/coremedia/component-cae.xml in artifact cae-component
Views
Service or Extension Point Definition | Type |
---|---|
viewEngines |
Map<String, ViewEngine>
Extension point to register custom view engines for template file extensions,
initialized to ("jsp" :=
WebappResourceViewEngine,
"ftl" := |
viewDecorators |
List<ViewDecorator>
Extension point to register custom view decorators, initialized to
|
viewRepositoryNameProviders |
List<ViewRepositoryNameProvider> Extension point to register custom view repository name providers, initialized to an implementation returning "default" and "fallback". |
viewRepositoryProviders |
List<ViewRepositoryProvider>
Extension point to register custom view repository providers, initialized to
|
renderNodeDecoratorProviders |
List<RenderNodeDecoratorProvider> Extension point to register custom render node decorator providers. |
viewResolverAttributes |
Map<String, Object> Extension point to register custom view resolver attributes, which will be copied into the request attributes for each request, before rendering a view. |
viewResolver | ModelAwareViewResolver |
Table 5.3. com/coremedia/cae/view-services.xml in artifact cae-viewservices-impl
Service or Extension Point Definition | Type |
---|---|
viewingHandlerExceptionResolver | ViewingHandlerExceptionResolver |
errorView | ErrorView |
viewExceptionRenderer | ViewExceptionRenderer |
httpErrorView | HttpErrorView |
exceptionDecorator | ExceptionHandlingViewDecorator,
will only be registered with viewDecorators , if property
view.errorhandler.enabled=true .
|
exceptionDecoratorAcceptBeanClasses |
List<Class>
Configuration for |
exceptionDecoratorRejectBeanClasses |
List<Class>
Configuration for |
exceptionDecoratorAcceptViews |
Configuration for |
exceptionDecoratorRejectViews |
Configuration for |
Table 5.4. com/coremedia/cae/view-error-services.xml in artifact cae-viewservices-impl
Service or Extension Point Definition | Type |
---|---|
debugDecorator | DebugViewDecorator,
will only be registered with viewDecorators , if property
view.debug.enabled=true .
|
debugDecoratorAcceptBeanClasses |
Configuration for |
debugDecoratorRejectBeanClasses |
Configuration for |
debugDecoratorAcceptViews |
Configuration for |
debugDecoratorRejectViews |
Configuration for |
Table 5.5. com/coremedia/cae/view-development-services.xml in artifact cae-viewservices-impl
Service or Extension Point Definition | Type |
---|---|
freemarkerViewEngine | ViewEngine to render FreeMarker templates. |
freemarkerModels |
Extension point to register additional |
Table 5.6. com/coremedia/cae/view-freemarker-services.xml in artifact cae-viewservices-impl
Unified API
Service or Extension Point Definition | Type |
---|---|
connectionParameters |
Configuration for the |
connection | CapConnection |
contentRepository | ContentRepository |
userRepository | UserRepository |
workflowRepository | WorkflowRepository |
worklistService | WorklistService |
Table 5.7. com/coremedia/cap/common/uapi-services.xml in artifact cap-unified-api
Service or Extension Point Definition | Type |
---|---|
contentIdScheme | ContentIdScheme |
contentBlobIdScheme | ContentBlobIdScheme |
memberIdScheme | MemberIdScheme |
contentTypeIdScheme | ContentTypeIdScheme |
contentPropertyIdScheme | ContentPropertyIdScheme |
Table 5.8. com/coremedia/cae/uapi-services.xml in artifact cae-util
Data Views
Service or Extension Point Definition | Type |
---|---|
dataViewFactory | ConfigurableDataViewFactory
implementation, loading its data view definitions from dataViewDefinitionLocations
|
dataViewDefinitionLocations |
Extension point to register data view factory configuration file patterns, initialized
to |
Table 5.9. com/coremedia/cae/dataview-services.xml in artifact cae-contentbeanservices-impl
Content Beans
Service or Extension Point Definition | Type |
---|---|
contentBeanFactory | ContentBeanFactory, creating content beans from prototype beans with name "contentBeanFactory:<content_type>". |
contentBeanIdScheme | ContentBeanIdScheme |
Table 5.10. com/coremedia/cae/contentbean-services.xml in artifact cae-contentbeanservices-impl
Caching
Service or Extension Point Definition | Type |
---|---|
cache | Cache instance created for
connection
|
Table 5.11. com/coremedia/cache/cache-services.xml in artifact coremedia-cache
Link Generation
Service or Extension Point Definition | Type |
---|---|
linkSchemes |
List<LinkScheme>
Extension point to register link schemes with |
linkTransformers |
List<LinkTransformer>
Extension point to register link transformers with
|
linkFormatter | LinkFormatter |
Table 5.12. com/coremedia/cae/link-services.xml in artifact cae-linkservices-impl
IDs
Service or Extension Point Definition | Type |
---|---|
idProvider | IdProvider,
initialized with the registered idSchemes .
|
idSchemes |
List<IdScheme>
Extension point to register ID schemes with |
Table 5.13. com/coremedia/id/id-services.xml in artifact coremedia-id
Handlers
Service or Extension Point Definition | Type |
---|---|
bindingConverters |
Set<?> (Converter or GenericConverter) Extension point to register custom converters to bind request path variables to handler method parameters. |
httpMessageConverters |
List<HttpMessageConverter> Extension point to register custom HTTP message converters to parse HTTP request body content or generate HTTP response body content. |
bindingPropertyEditorRegistrars |
List<PropertyEditorRegistrar> Extension point to register custom property editor registrars (which in turn will register property editors) to bind form fields to bean properties. |
handlerInterceptors |
List<HandlerInterceptor> Extension point to register handler interceptors, which will be applied to all handlers. |
idContentBeanConverter | Converter
to convert numeric IDs to method parameters of type ContentBean.
An application must register this bean with bindingConverters explicitly, in order to use it.
|
idGenericContentBeanConverter | GenericConverter
to convert between numeric IDs and subtypes of ContentBean.
This converter subsumes the functionality provided by idContentBeanConverter .
An application must register this bean with bindingConverters explicitly, in order to use it.
|
idContentBeanPropertyEditor | java.beans.PropertyEditor
to convert between numeric IDs and ContentBeans.
An application must register this bean with bindingPropertyEditorRegistrars explicitly
using a PropertyEditorRegistrar, in order to use it.
|
Table 5.14. com/coremedia/cae/handler-services.xml in artifact cae-handlerservices-impl
MIME Type Mappings
Service or Extension Point Definition | Type |
---|---|
mimeTypeService | MimeTypeService,
providing methods related to MIME types and file extensions. Note: The implementation class of this bean is deprecated
and will be replaced by TikaMimeTypeService
|
mimePropertiesFileLocations |
List<Resource>
Extension point to register locations of property files containing MIME type mappings.
This bean is deprecated and will be removed in a future release. |
tikaMimeTypeService | TikaMimeTypeService,
providing methods related to MIME type detection and mapping to file extensions. The implementation is
based on Apache Tika. Configured with the following properties:
|
Table 5.15. com/coremedia/mimetype/mimetype-service.xml in artifact coremedia-common
Security
Service or Extension Point Definition | Type |
---|---|
csrfTokenManagement | CsrfPreventionManagement, providing methods handling anti-CSRF tokens. |
Table 5.16. com/coremedia/cae/security-services.xml in artifact cae-util
Image Transformations
Service or Extension Point Definition | Type |
---|---|
blobTransformer | CachingBlobTransformer,
handling concurrent image transformation requests, caching image transformation results.
Delegates cache misses to the bean throttlingTransformer .
|
throttlingBlobTransformer | ThrottlingBlobTransformer, handling concurrent image transformation requests, performing some basic load control. Delegates the actual transformation work to the bean imageTransformer. |
imageTransformer | DispatchingBlobTransformer, the blob transformer actually performing image transformations. Holds a list of processor objects, initialized with the list bean imageProcessors. |
imageProcessors |
List<?>, extension point to register your own image processors, implementing additional image operations. Initialized with a single processor, imageOperations. |
imageOperations | Java2DImageOperations,
implementing the ImageOperations
interface using the javax.imageio library. You may reuse this bean and its operations
when implementing your own image operations.
|
imageTransformerInputAdapter | Java2DInputAdapter,
input adapter used by imageTransformer.
Since the reading and decoding of an image consumes a significant amount of processing time, this input adapter caches loaded images in memory. When another variant is then requested for the same image, this variant can be computed much faster. Configured with the following properties:
|
imageTransformerOutputAdapter | Java2DOutputAdapter,
output adapter used by imageTransformer.
Configured with the following properties:
|
imageTransformerConversionService |
|
Table 5.17. com/coremedia/transform/blob-transformer.xml in artifact coremedia-transform
Controllers
controller-services.xml
is not imported automatically and is only provided
for backwards compatibility with existing controller implementations.
Service or Extension Point Definition | Type |
---|---|
controllerMappings |
Map<String, Controller> Extension point to register controllers handling requests with the given path prefix. |
controllerInterceptors |
Alias for handlerInterceptors , which will be applied to all controllers in
controllerMappings .
|
Table 5.18. com/coremedia/cae/controller-services.xml in artifact cae-handlerservices-impl