Kauri Documentation
 PreviousHomeNext 
13.4 Spring config referenceBook Index14 Configuration

13.4.2 Element description

13.4.2.1 kauri:module

Makes available certain module context as beans within the Spring bean container.

Syntax:

<kauri:module restletContext="restletContext" classLoader="classLoader" handle="module" conf="confRegistry"/>

All the attributes are optional. The values of the attributes are the bean names under which to make the beans available, and can be freely chosen.

The following attributes are available:

13.4.2.2 kauri:import-service

Imports a Java service (= declares a dependency on a Java service).

Syntax:

<kauri:import-service service="..." name="..." id="..."/>

Attributes:

13.4.2.3 kauri:export-service

Exports (= provides) a Java service.

Syntax:

<kauri:export-service service="..." name="..." ref="..."/>

Attributes:

13.4.2.4 kauri:import-restservice

Imports a REST-service (= declares a dependency on a REST-service).

Syntax:

<kauri:import-restservice name="..." type="..."/>

Attributes:

The type of the bean that will be made available is org.restlet.Restlet.

13.4.2.5 kauri:export-restservice

Exports (= provides) a REST-service.

Syntax:

<kauri:export-restservice ref="..." name="..." type="..."/>

Attributes:

 PreviousHomeNext 
13.4 Spring config reference14 Configuration