Spring Data Core

org.springframework.data.web.config
Class EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector

java.lang.Object
  extended by org.springframework.data.web.config.EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector
All Implemented Interfaces:
ImportSelector
Enclosing class:
EnableSpringDataWebSupport

public static class EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector
extends Object
implements ImportSelector

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

Constructor Summary
EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector()
           
 
Method Summary
 String[] selectImports(AnnotationMetadata importingClassMetadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector

public EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector()
Method Detail

selectImports

public String[] selectImports(AnnotationMetadata importingClassMetadata)
Specified by:
selectImports in interface ImportSelector

Spring Data Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.