Move TemplateAvailabilityProvider

Move TemplateAvailabilityProvider from the spring-boot project to
spring-boot-autoconfigure
pull/762/head
Phillip Webb 11 years ago
parent decee8d871
commit fb13bf9016

@ -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;

@ -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;

@ -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;

@ -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;

@ -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;

@ -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

@ -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;

@ -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;

Loading…
Cancel
Save