AppConfiguration.java 527 Bytes
Newer Older
jorgecacs committed
1 2 3 4
package com.rshk.demo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
jorgecacs committed
5 6
import org.springframework.context.annotation.PropertySource;
import org.springframework.web.context.support.AnnotationConfigWebApplicationContext;
jorgecacs committed
7 8 9 10
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Configuration
@EnableWebMvc
jorgecacs committed
11 12
@PropertySource("classpath:application.properties")
public class AppConfiguration extends AnnotationConfigWebApplicationContext{
jorgecacs committed
13 14 15

	
}