Annotation Interface EnableMats

Enables Mats "SpringConfig", which is bean-scanning for methods on Spring beans annotated with MatsMapping, MatsClassMapping and MatsEndpointSetup, conceptually inspired by the @EnableWebMvc annotation. One (or several) MatsFactorys must be set up in the Spring context. Methods (or classes in case of @MatsClassMapping) having the specified annotations will get Mats endpoints set up for them on the MatsFactory.

This annotation simply imports the MatsSpringAnnotationRegistration bean, which is a Spring BeanPostProcessor. Read more JavaDoc there!