package org.springframework.roo.addon.web.mvc.controller.annotations.config; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This class provides annotation to indicate that some class * provides configuration of Jackson serialization configuration * about entity class * * @author Jose Manuel Vivó * @since 2.0 */ @Retention(RetentionPolicy.SOURCE) @Target(ElementType.TYPE) public @interface RooJsonMixin { /** * Specifies the entity which is configured by this class * * @return target entity */ Class<?> entity(); }