13.4 Spring config reference
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.
The extension elements are in the following namespace:
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.