@Target(value=TYPE) @Retention(value=RUNTIME) @Import(value=MatsSpringAnnotationRegistration.class) @Documented public @interface EnableMats
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!