org.skife.config.Config.value()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(129)

本文整理了Java中org.skife.config.Config.value()方法的一些代码示例,展示了Config.value()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Config.value()方法的具体详情如下:
包路径:org.skife.config.Config
类名称:Config
方法名:value

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();

相关文章