本文整理了Java中org.skife.config.Config.value()
方法的一些代码示例,展示了Config.value()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Config.value()
方法的具体详情如下:
包路径:org.skife.config.Config
类名称:Config
方法名:value
暂无
代码示例来源:origin: killbill/killbill
private String getCachedValue(final Config annotation, final InternalTenantContext tenantContext) {
final PerTenantConfig perTenantConfig = cacheConfig.getPerTenantConfig(tenantContext);
for (final String propertyName : annotation.value()) {
final String result = perTenantConfig.get(propertyName);
if (result != null) {
return result;
}
}
return null;
}
代码示例来源:origin: org.kill-bill.billing/killbill-util
private String getCachedValue(final Config annotation, final InternalTenantContext tenantContext) {
final PerTenantConfig perTenantConfig = cacheConfig.getPerTenantConfig(tenantContext);
for (final String propertyName : annotation.value()) {
final String result = perTenantConfig.get(propertyName);
if (result != null) {
return result;
}
}
return null;
}
代码示例来源:origin: brianm/config-magic
prettyPrint(annotation.value(), null),
method.toGenericString()));
final String[] annotationValues = annotation.value();
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics
prettyPrint(annotation.value(), null),
method.toGenericString()));
final String[] annotationValues = annotation.value();
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics
private void buildSimple(List<Callback> callbacks, Method method, Config annotation,
Map<String, String> mappedReplacements)
String[] propertyNames = annotation.value();
代码示例来源:origin: brianm/config-magic
propertyNames = annotation.value();
内容来源于网络,如有侵权,请联系作者删除!