Move TemplateAvailabilityProvider

Move TemplateAvailabilityProvider from the spring-boot project to
spring-boot-autoconfigure
This commit is contained in:
Phillip Webb
2014-04-30 21:38:17 +01:00
parent decee8d871
commit fb13bf9016
8 changed files with 8 additions and 8 deletions

View File

@@ -16,7 +16,7 @@
package org.springframework.boot.autoconfigure.freemarker;
import org.springframework.boot.web.TemplateAvailabilityProvider;
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider;
import org.springframework.core.env.Environment;
import org.springframework.core.io.ResourceLoader;
import org.springframework.util.ClassUtils;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.web;
package org.springframework.boot.autoconfigure.template;
import org.springframework.core.env.Environment;
import org.springframework.core.io.ResourceLoader;

View File

@@ -16,7 +16,7 @@
package org.springframework.boot.autoconfigure.thymeleaf;
import org.springframework.boot.web.TemplateAvailabilityProvider;
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider;
import org.springframework.core.env.Environment;
import org.springframework.core.io.ResourceLoader;
import org.springframework.util.ClassUtils;

View File

@@ -34,10 +34,10 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.boot.autoconfigure.condition.SearchStrategy;
import org.springframework.boot.autoconfigure.condition.SpringBootCondition;
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider;
import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer;
import org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer;
import org.springframework.boot.context.embedded.ErrorPage;
import org.springframework.boot.web.TemplateAvailabilityProvider;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ConditionContext;
import org.springframework.context.annotation.Conditional;

View File

@@ -16,7 +16,7 @@
package org.springframework.boot.autoconfigure.web;
import org.springframework.boot.web.TemplateAvailabilityProvider;
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider;
import org.springframework.core.env.Environment;
import org.springframework.core.io.ResourceLoader;
import org.springframework.util.ClassUtils;

View File

@@ -37,7 +37,7 @@ org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration,\
org.springframework.boot.autoconfigure.websocket.WebSocketAutoConfiguration
# Template availability providers
org.springframework.boot.web.TemplateAvailabilityProvider=\
org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider=\
org.springframework.boot.autoconfigure.freemarker.FreeMarkerTemplateAvailabilityProvider,\
org.springframework.boot.autoconfigure.thymeleaf.ThymeleafTemplateAvailabilityProvider,\
org.springframework.boot.autoconfigure.web.JspTemplateAvailabilityProvider

View File

@@ -17,7 +17,7 @@
package org.springframework.boot.autoconfigure.freemarker;
import org.junit.Test;
import org.springframework.boot.web.TemplateAvailabilityProvider;
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider;
import org.springframework.core.io.DefaultResourceLoader;
import org.springframework.core.io.ResourceLoader;
import org.springframework.mock.env.MockEnvironment;

View File

@@ -17,7 +17,7 @@
package org.springframework.boot.autoconfigure.thymeleaf;
import org.junit.Test;
import org.springframework.boot.web.TemplateAvailabilityProvider;
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider;
import org.springframework.core.io.DefaultResourceLoader;
import org.springframework.core.io.ResourceLoader;
import org.springframework.mock.env.MockEnvironment;