通常、SpringWebflow構成は次の場所からインポートされapplication-context.xmlます。
<?xml version="1.0" encoding="UTF-8"?>
<beans .../>
....
<import resource="config/webflow-config.xml" />
</beans>
しかし、Spring 3.1では、Javaからすべての構成を実行し、を削除することが可能@Configurationですapplication-context.xml。
Web構成には次のものがあります。
@Configuration
@Import({ MyConfig1.class, MyConfig2.class })
public class WebConfig extends WebMvcConfigurerAdapter {
...
}
webflow-config.xmlを使ってあまりにも取り除くことは可能@Configurationですか?はいの場合、どのように?いいえの場合、Web構成に含める方法はwebflow-config.xml?