|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={TYPE,ANNOTATION_TYPE})
@Inherited
@Import(value=EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector.class)
public @interface EnableSpringDataWebSupportAnnotation to automatically register the following beans for usage with Spring MVC. Note that using this annotation will require Spring 3.2.
DomainClassConverter - to allow usage of domain types managed by Spring Data repositories as controller
method arguments bound with PathVariable or RequestParam.PageableHandlerMethodArgumentResolver - to allow injection of Pageable instances into controller
methods automatically created from request parameters.SortHandlerMethodArgumentResolver - to allow injection of Sort instances into controller methods
automatically created from request parameters.HateoasPageableHandlerMethodArgumentResolver - instead of PageableHandlerMethodArgumentResolverHateoasSortHandlerMethodArgumentResolver - instead of SortHandlerMethodArgumentResolverPagedResourcesAssembler - for injection into web componentsPagedResourcesAssemblerArgumentResolver - for injection of PagedResourcesAssembler into
controller methods
SpringDataWebConfiguration,
HateoasAwareSpringDataWebConfiguration
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||