Beans

NILS 4 Spring provides the following beans. All beans are added to the application context if the NilsSpringIntegrationConfiguration is imported by one of your configurations.

Message Source

NILS 4 Spring provide a bean for the Spring’s messageSource (type MessageSource) using NILS to access the translation resources.

The implementation class is NilsMessageSource.

Nils Factory

NILS 4 Spring defines and implement an own NilsFactory with bean name nilsFactory, which provides further access to the translation resources, like context based translations, etc.