Spring引导常量应用程序(Rest应用程序)

时间:2017-04-09 15:42:10

标签: spring-boot jax-rs cxf

在基于 spring Boot 的Rest应用程序中,我们想要外包一些常量的定义,我们现在使用application.properties(但它是fastiduex因为我们必须通过@Value(“。 ..“)),或者在Interfaces中声明它们(静态)......

有简单方法吗? (春季MVC应用程序, 100%RestFull

0 个答案:

没有答案