13.4 Spring config reference
13.4.1 Introduction
13.4.1.1 Purpose
The Kauri Runtime provides some extension elements to use in the Spring configuration. The purpose of these elements is to:
- give access to the module
- declare imported and exported Java-services and REST-services.
13.4.1.2 Namespace
The extension elements are in the following namespace:
http://kauriproject.org/runtime/1.0#springext
The typical declarations to include in your Spring config are:
xmlns:kauri = "http://kauriproject.org/runtime/1.0#springext"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation = "http://kauriproject.org/runtime/1.0#springext
http://www.kauriproject.org/schemas/runtime/springext.xsd">
In case you wonder: the springext.xsd file is not available at the URL specified in the xsi:schemaLocation attribute, and will hence not be downloaded from the network. The URL is only used as an identifier, the schema file is included within the Runtime jars.
Previous