标签: java spring configuration dropwizard
我有一个扩展 dropwizard 配置的类,它从作为命令行参数传递的 config.yml 文件中获取一个属性。是否可以在 Spring 的 @ConditionalOnProperty 注释中使用此值?