java.security.Provider.putProviderInfo()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(6.8k)|赞(0)|评价(0)|浏览(123)

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

Provider.putProviderInfo介绍

[英]These attributes should be placed in each Provider object: Provider.id name, Provider.id version, Provider.id info, Provider.id className
[中]这些属性应该放在每个提供者对象中:提供者。身份证名称,提供者。id版本,提供程序。身份证信息,提供者。id类名称

代码示例

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

/**
 * Constructs a new instance of {@code Provider} with its name, version and
 * description.
 *
 * @param name
 *            the name of the provider.
 * @param version
 *            the version of the provider.
 * @param info
 *            a description of the provider.
 */
protected Provider(String name, double version, String info) {
  this.name = name;
  this.version = version;
  this.info = info;
  versionString = String.valueOf(version);
  putProviderInfo();
}

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

/**
 * Clears all properties used to look up services implemented by this
 * {@code Provider}.
 */
@Override
public synchronized void clear() {
  super.clear();
  if (serviceTable != null) {
    serviceTable.clear();
  }
  if (propertyServiceTable != null) {
    propertyServiceTable.clear();
  }
  if (aliasTable != null) {
    aliasTable.clear();
  }
  if (propertyAliasTable != null) {
    propertyAliasTable.clear();
  }
  changedProperties = null;
  putProviderInfo();
  if (providerNumber != -1) {
    // if registered then refresh Services
    Services.setNeedRefresh();
  }
  servicesChanged();
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Constructs a new instance of {@code Provider} with its name, version and
 * description.
 *
 * @param name
 *            the name of the provider.
 * @param version
 *            the version of the provider.
 * @param info
 *            a description of the provider.
 */
protected Provider(String name, double version, String info) {
  this.name = name;
  this.version = version;
  this.info = info;
  versionString = String.valueOf(version);
  putProviderInfo();
}

代码示例来源:origin: MobiVM/robovm

/**
 * Constructs a new instance of {@code Provider} with its name, version and
 * description.
 *
 * @param name
 *            the name of the provider.
 * @param version
 *            the version of the provider.
 * @param info
 *            a description of the provider.
 */
protected Provider(String name, double version, String info) {
  this.name = name;
  this.version = version;
  this.info = info;
  versionString = String.valueOf(version);
  putProviderInfo();
}

代码示例来源:origin: ibinti/bugvm

/**
 * Constructs a new instance of {@code Provider} with its name, version and
 * description.
 *
 * @param name
 *            the name of the provider.
 * @param version
 *            the version of the provider.
 * @param info
 *            a description of the provider.
 */
protected Provider(String name, double version, String info) {
  this.name = name;
  this.version = version;
  this.info = info;
  versionString = String.valueOf(version);
  putProviderInfo();
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Constructs a new instance of {@code Provider} with its name, version and
 * description.
 *
 * @param name
 *            the name of the provider.
 * @param version
 *            the version of the provider.
 * @param info
 *            a description of the provider.
 */
protected Provider(String name, double version, String info) {
  this.name = name;
  this.version = version;
  this.info = info;
  versionString = String.valueOf(version);
  putProviderInfo();
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Constructs a new instance of {@code Provider} with its name, version and
 * description.
 *
 * @param name
 *            the name of the provider.
 * @param version
 *            the version of the provider.
 * @param info
 *            a description of the provider.
 */
protected Provider(String name, double version, String info) {
  this.name = name;
  this.version = version;
  this.info = info;
  versionString = String.valueOf(version);
  putProviderInfo();
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Constructs a new instance of {@code Provider} with its name, version and
 * description.
 *
 * @param name
 *            the name of the provider.
 * @param version
 *            the version of the provider.
 * @param info
 *            a description of the provider.
 */
protected Provider(String name, double version, String info) {
  this.name = name;
  this.version = version;
  this.info = info;
  versionString = String.valueOf(version);
  putProviderInfo();
}

代码示例来源:origin: MobiVM/robovm

/**
 * Clears all properties used to look up services implemented by this
 * {@code Provider}.
 */
@Override
public synchronized void clear() {
  super.clear();
  if (serviceTable != null) {
    serviceTable.clear();
  }
  if (propertyServiceTable != null) {
    propertyServiceTable.clear();
  }
  if (aliasTable != null) {
    aliasTable.clear();
  }
  if (propertyAliasTable != null) {
    propertyAliasTable.clear();
  }
  changedProperties = null;
  putProviderInfo();
  if (providerNumber != -1) {
    // if registered then refresh Services
    Services.setNeedRefresh();
  }
  servicesChanged();
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Clears all properties used to look up services implemented by this
 * {@code Provider}.
 */
@Override
public synchronized void clear() {
  super.clear();
  if (serviceTable != null) {
    serviceTable.clear();
  }
  if (propertyServiceTable != null) {
    propertyServiceTable.clear();
  }
  if (aliasTable != null) {
    aliasTable.clear();
  }
  if (propertyAliasTable != null) {
    propertyAliasTable.clear();
  }
  changedProperties = null;
  putProviderInfo();
  if (providerNumber != -1) {
    // if registered then refresh Services
    Services.setNeedRefresh();
  }
  servicesChanged();
}

代码示例来源:origin: ibinti/bugvm

/**
 * Clears all properties used to look up services implemented by this
 * {@code Provider}.
 */
@Override
public synchronized void clear() {
  super.clear();
  if (serviceTable != null) {
    serviceTable.clear();
  }
  if (propertyServiceTable != null) {
    propertyServiceTable.clear();
  }
  if (aliasTable != null) {
    aliasTable.clear();
  }
  if (propertyAliasTable != null) {
    propertyAliasTable.clear();
  }
  changedProperties = null;
  putProviderInfo();
  if (providerNumber != -1) {
    // if registered then refresh Services
    Services.setNeedRefresh();
  }
  servicesChanged();
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Clears all properties used to look up services implemented by this
 * {@code Provider}.
 */
@Override
public synchronized void clear() {
  super.clear();
  if (serviceTable != null) {
    serviceTable.clear();
  }
  if (propertyServiceTable != null) {
    propertyServiceTable.clear();
  }
  if (aliasTable != null) {
    aliasTable.clear();
  }
  if (propertyAliasTable != null) {
    propertyAliasTable.clear();
  }
  changedProperties = null;
  putProviderInfo();
  if (providerNumber != -1) {
    // if registered then refresh Services
    Services.setNeedRefresh();
  }
  servicesChanged();
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Clears all properties used to look up services implemented by this
 * {@code Provider}.
 */
@Override
public synchronized void clear() {
  super.clear();
  if (serviceTable != null) {
    serviceTable.clear();
  }
  if (propertyServiceTable != null) {
    propertyServiceTable.clear();
  }
  if (aliasTable != null) {
    aliasTable.clear();
  }
  if (propertyAliasTable != null) {
    propertyAliasTable.clear();
  }
  changedProperties = null;
  putProviderInfo();
  if (providerNumber != -1) {
    // if registered then refresh Services
    Services.setNeedRefresh();
  }
  servicesChanged();
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Clears all properties used to look up services implemented by this
 * {@code Provider}.
 */
@Override
public synchronized void clear() {
  super.clear();
  if (serviceTable != null) {
    serviceTable.clear();
  }
  if (propertyServiceTable != null) {
    propertyServiceTable.clear();
  }
  if (aliasTable != null) {
    aliasTable.clear();
  }
  if (propertyAliasTable != null) {
    propertyAliasTable.clear();
  }
  changedProperties = null;
  putProviderInfo();
  if (providerNumber != -1) {
    // if registered then refresh Services
    Services.setNeedRefresh();
  }
  servicesChanged();
}

相关文章