Class EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector
java.lang.Object
org.springframework.data.web.config.EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector
- All Implemented Interfaces:
Aware
,ImportSelector
,ResourceLoaderAware
- Enclosing class:
- EnableSpringDataWebSupport
public static class EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector
extends Object
implements ImportSelector, ResourceLoaderAware
Import selector to import the appropriate configuration class depending on whether Spring HATEOAS is present on the
classpath. We need to register the HATEOAS specific class first as apparently only the first class implementing
WebMvcConfigurationSupport
gets callbacks invoked (see
https://jira.springsource.org/browse/SPR-10565).- Author:
- Oliver Gierke, Jens Schauder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
selectImports
(AnnotationMetadata importingClassMetadata) void
setResourceLoader
(ResourceLoader resourceLoader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.annotation.ImportSelector
getExclusionFilter
-
Constructor Details
-
SpringDataWebConfigurationImportSelector
public SpringDataWebConfigurationImportSelector()
-
-
Method Details
-
setResourceLoader
- Specified by:
setResourceLoader
in interfaceResourceLoaderAware
-
selectImports
- Specified by:
selectImports
in interfaceImportSelector
-