org.glassfish.jersey.internal.Version.getBuildId()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(4.5k)|赞(0)|评价(0)|浏览(131)

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

Version.getBuildId介绍

[英]Get build id.
[中]获取构建id。

代码示例

代码示例来源:origin: jersey/jersey

private void addVersion(Application wadlApplication) {
  // Include Jersey version as doc element with generatedBy attribute
  Doc d = new Doc();
  d.getOtherAttributes().put(new QName(WadlApplicationContextImpl.WADL_JERSEY_NAMESPACE, "generatedBy", "jersey"),
      Version.getBuildId());
  wadlApplication.getDoc().add(d);
}

代码示例来源:origin: jersey/jersey

private void addVersion(Application wadlApplication) {
  // Include Jersey version as doc element with generatedBy attribute
  Doc d = new Doc();
  d.getOtherAttributes().put(new QName(WadlApplicationContextImpl.WADL_JERSEY_NAMESPACE, "generatedBy", "jersey"),
      Version.getBuildId());
  wadlApplication.getDoc().add(d);
}

代码示例来源:origin: jersey/jersey

private void initialize(ApplicationConfigurator applicationConfigurator, InjectionManager injectionManager,
    Binder customBinder) {
  LOGGER.config(LocalizationMessages.INIT_MSG(Version.getBuildId()));
  this.injectionManager = injectionManager;
  this.injectionManager.register(CompositeBinder.wrap(new ServerBinder(), customBinder));

代码示例来源:origin: jersey/jersey

private void initialize(ApplicationConfigurator applicationConfigurator, InjectionManager injectionManager,
    Binder customBinder) {
  LOGGER.config(LocalizationMessages.INIT_MSG(Version.getBuildId()));
  this.injectionManager = injectionManager;
  this.injectionManager.register(CompositeBinder.wrap(new ServerBinder(), customBinder));

代码示例来源:origin: org.glassfish.jersey.core/jersey-server

private void addVersion(Application wadlApplication) {
  // Include Jersey version as doc element with generatedBy attribute
  Doc d = new Doc();
  d.getOtherAttributes().put(new QName(WadlApplicationContextImpl.WADL_JERSEY_NAMESPACE, "generatedBy", "jersey"),
      Version.getBuildId());
  wadlApplication.getDoc().add(d);
}

代码示例来源:origin: org.glassfish.jersey.core/jersey-server

private void initialize(ApplicationConfigurator applicationConfigurator, InjectionManager injectionManager,
    Binder customBinder) {
  LOGGER.config(LocalizationMessages.INIT_MSG(Version.getBuildId()));
  this.injectionManager = injectionManager;
  this.injectionManager.register(CompositeBinder.wrap(new ServerBinder(), customBinder));

代码示例来源:origin: org.glassfish.jersey.bundles/jaxrs-ri

private void addVersion(Application wadlApplication) {
  // Include Jersey version as doc element with generatedBy attribute
  Doc d = new Doc();
  d.getOtherAttributes().put(new QName(WadlApplicationContextImpl.WADL_JERSEY_NAMESPACE, "generatedBy", "jersey"),
      Version.getBuildId());
  wadlApplication.getDoc().add(d);
}

代码示例来源:origin: hstaudacher/osgi-jax-rs-connector

private void addVersion(Application wadlApplication) {
  // Include Jersey version as doc element with generatedBy attribute
  Doc d = new Doc();
  d.getOtherAttributes().put(new QName(WadlApplicationContextImpl.WADL_JERSEY_NAMESPACE, "generatedBy", "jersey"),
      Version.getBuildId());
  wadlApplication.getDoc().add(d);
}

代码示例来源:origin: hstaudacher/osgi-jax-rs-connector

private void addVersion(Application wadlApplication) {
  // Include Jersey version as doc element with generatedBy attribute
  Doc d = new Doc();
  d.getOtherAttributes().put(new QName(WadlApplicationContextImpl.WADL_JERSEY_NAMESPACE, "generatedBy", "jersey"),
      Version.getBuildId());
  wadlApplication.getDoc().add(d);
}

代码示例来源:origin: com.eclipsesource.jaxrs/jersey-all

private void addVersion(Application wadlApplication) {
  // Include Jersey version as doc element with generatedBy attribute
  Doc d = new Doc();
  d.getOtherAttributes().put(new QName(WadlApplicationContextImpl.WADL_JERSEY_NAMESPACE, "generatedBy", "jersey"),
      Version.getBuildId());
  wadlApplication.getDoc().add(d);
}

代码示例来源:origin: org.glassfish.jersey.bundles/jaxrs-ri

private void initialize(ApplicationConfigurator applicationConfigurator, InjectionManager injectionManager,
    Binder customBinder) {
  LOGGER.config(LocalizationMessages.INIT_MSG(Version.getBuildId()));
  this.injectionManager = injectionManager;
  this.injectionManager.register(CompositeBinder.wrap(new ServerBinder(), customBinder));

代码示例来源:origin: com.eclipsesource.jaxrs/jersey-all

LOGGER.config(LocalizationMessages.INIT_MSG(Version.getBuildId()));

代码示例来源:origin: hstaudacher/osgi-jax-rs-connector

LOGGER.config(LocalizationMessages.INIT_MSG(Version.getBuildId()));

代码示例来源:origin: hstaudacher/osgi-jax-rs-connector

LOGGER.config(LocalizationMessages.INIT_MSG(Version.getBuildId()));

相关文章