本文整理了Java中java.security.Provider.updatePropertyServiceTable()
方法的一些代码示例,展示了Provider.updatePropertyServiceTable()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Provider.updatePropertyServiceTable()
方法的具体详情如下:
包路径:java.security.Provider
类名称:Provider
方法名:updatePropertyServiceTable
暂无
代码示例来源:origin: robovm/robovm
/**
* Returns an unmodifiable {@code Set} of all services registered by this
* provider.
*
* @return an unmodifiable {@code Set} of all services registered by this
* provider
*/
public synchronized Set<Provider.Service> getServices() {
updatePropertyServiceTable();
if (lastServicesSet != null) {
return lastServicesSet;
}
if (serviceTable != null) {
lastServicesSet = new LinkedHashSet<Service>(serviceTable.values());
} else {
lastServicesSet = new LinkedHashSet<Service>();
}
if (propertyServiceTable != null) {
lastServicesSet.addAll(propertyServiceTable.values());
}
lastServicesSet = Collections.unmodifiableSet(lastServicesSet);
return lastServicesSet;
}
代码示例来源:origin: robovm/robovm
/**
* Get the service of the specified type
*
*/
synchronized Provider.Service getService(String type) {
updatePropertyServiceTable();
if (lastServicesByType != null && type.equals(lastType)) {
return lastServicesByType;
}
Provider.Service service;
for (Iterator<Service> it = getServices().iterator(); it.hasNext();) {
service = it.next();
if (type.equals(service.type)) {
lastType = type;
lastServicesByType = service;
return service;
}
}
return null;
}
代码示例来源:origin: robovm/robovm
updatePropertyServiceTable();
代码示例来源:origin: ibinti/bugvm
/**
* Returns an unmodifiable {@code Set} of all services registered by this
* provider.
*
* @return an unmodifiable {@code Set} of all services registered by this
* provider
*/
public synchronized Set<Provider.Service> getServices() {
updatePropertyServiceTable();
if (lastServicesSet != null) {
return lastServicesSet;
}
if (serviceTable != null) {
lastServicesSet = new LinkedHashSet<Service>(serviceTable.values());
} else {
lastServicesSet = new LinkedHashSet<Service>();
}
if (propertyServiceTable != null) {
lastServicesSet.addAll(propertyServiceTable.values());
}
lastServicesSet = Collections.unmodifiableSet(lastServicesSet);
return lastServicesSet;
}
代码示例来源:origin: FlexoVM/flexovm
/**
* Returns an unmodifiable {@code Set} of all services registered by this
* provider.
*
* @return an unmodifiable {@code Set} of all services registered by this
* provider
*/
public synchronized Set<Provider.Service> getServices() {
updatePropertyServiceTable();
if (lastServicesSet != null) {
return lastServicesSet;
}
if (serviceTable != null) {
lastServicesSet = new LinkedHashSet<Service>(serviceTable.values());
} else {
lastServicesSet = new LinkedHashSet<Service>();
}
if (propertyServiceTable != null) {
lastServicesSet.addAll(propertyServiceTable.values());
}
lastServicesSet = Collections.unmodifiableSet(lastServicesSet);
return lastServicesSet;
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* Returns an unmodifiable {@code Set} of all services registered by this
* provider.
*
* @return an unmodifiable {@code Set} of all services registered by this
* provider
*/
public synchronized Set<Provider.Service> getServices() {
updatePropertyServiceTable();
if (lastServicesSet != null) {
return lastServicesSet;
}
if (serviceTable != null) {
lastServicesSet = new LinkedHashSet<Service>(serviceTable.values());
} else {
lastServicesSet = new LinkedHashSet<Service>();
}
if (propertyServiceTable != null) {
lastServicesSet.addAll(propertyServiceTable.values());
}
lastServicesSet = Collections.unmodifiableSet(lastServicesSet);
return lastServicesSet;
}
代码示例来源:origin: MobiVM/robovm
/**
* Returns an unmodifiable {@code Set} of all services registered by this
* provider.
*
* @return an unmodifiable {@code Set} of all services registered by this
* provider
*/
public synchronized Set<Provider.Service> getServices() {
updatePropertyServiceTable();
if (lastServicesSet != null) {
return lastServicesSet;
}
if (serviceTable != null) {
lastServicesSet = new LinkedHashSet<Service>(serviceTable.values());
} else {
lastServicesSet = new LinkedHashSet<Service>();
}
if (propertyServiceTable != null) {
lastServicesSet.addAll(propertyServiceTable.values());
}
lastServicesSet = Collections.unmodifiableSet(lastServicesSet);
return lastServicesSet;
}
代码示例来源:origin: ibinti/bugvm
/**
* Get the service of the specified type
*
*/
synchronized Provider.Service getService(String type) {
updatePropertyServiceTable();
if (lastServicesByType != null && type.equals(lastType)) {
return lastServicesByType;
}
Provider.Service service;
for (Iterator<Service> it = getServices().iterator(); it.hasNext();) {
service = it.next();
if (type.equals(service.type)) {
lastType = type;
lastServicesByType = service;
return service;
}
}
return null;
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* Returns an unmodifiable {@code Set} of all services registered by this
* provider.
*
* @return an unmodifiable {@code Set} of all services registered by this
* provider
*/
public synchronized Set<Provider.Service> getServices() {
updatePropertyServiceTable();
if (lastServicesSet != null) {
return lastServicesSet;
}
if (serviceTable != null) {
lastServicesSet = new LinkedHashSet<Service>(serviceTable.values());
} else {
lastServicesSet = new LinkedHashSet<Service>();
}
if (propertyServiceTable != null) {
lastServicesSet.addAll(propertyServiceTable.values());
}
lastServicesSet = Collections.unmodifiableSet(lastServicesSet);
return lastServicesSet;
}
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* Returns an unmodifiable {@code Set} of all services registered by this
* provider.
*
* @return an unmodifiable {@code Set} of all services registered by this
* provider
*/
public synchronized Set<Provider.Service> getServices() {
updatePropertyServiceTable();
if (lastServicesSet != null) {
return lastServicesSet;
}
if (serviceTable != null) {
lastServicesSet = new LinkedHashSet<Service>(serviceTable.values());
} else {
lastServicesSet = new LinkedHashSet<Service>();
}
if (propertyServiceTable != null) {
lastServicesSet.addAll(propertyServiceTable.values());
}
lastServicesSet = Collections.unmodifiableSet(lastServicesSet);
return lastServicesSet;
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* Get the service of the specified type
*
*/
synchronized Provider.Service getService(String type) {
updatePropertyServiceTable();
if (lastServicesByType != null && type.equals(lastType)) {
return lastServicesByType;
}
Provider.Service service;
for (Iterator<Service> it = getServices().iterator(); it.hasNext();) {
service = it.next();
if (type.equals(service.type)) {
lastType = type;
lastServicesByType = service;
return service;
}
}
return null;
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* Get the service of the specified type
*
*/
synchronized Provider.Service getService(String type) {
updatePropertyServiceTable();
if (lastServicesByType != null && type.equals(lastType)) {
return lastServicesByType;
}
Provider.Service service;
for (Iterator<Service> it = getServices().iterator(); it.hasNext();) {
service = it.next();
if (type.equals(service.type)) {
lastType = type;
lastServicesByType = service;
return service;
}
}
return null;
}
代码示例来源:origin: FlexoVM/flexovm
/**
* Get the service of the specified type
*
*/
synchronized Provider.Service getService(String type) {
updatePropertyServiceTable();
if (lastServicesByType != null && type.equals(lastType)) {
return lastServicesByType;
}
Provider.Service service;
for (Iterator<Service> it = getServices().iterator(); it.hasNext();) {
service = it.next();
if (type.equals(service.type)) {
lastType = type;
lastServicesByType = service;
return service;
}
}
return null;
}
代码示例来源:origin: MobiVM/robovm
/**
* Get the service of the specified type
*
*/
synchronized Provider.Service getService(String type) {
updatePropertyServiceTable();
if (lastServicesByType != null && type.equals(lastType)) {
return lastServicesByType;
}
Provider.Service service;
for (Iterator<Service> it = getServices().iterator(); it.hasNext();) {
service = it.next();
if (type.equals(service.type)) {
lastType = type;
lastServicesByType = service;
return service;
}
}
return null;
}
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* Get the service of the specified type
*
*/
synchronized Provider.Service getService(String type) {
updatePropertyServiceTable();
if (lastServicesByType != null && type.equals(lastType)) {
return lastServicesByType;
}
Provider.Service service;
for (Iterator<Service> it = getServices().iterator(); it.hasNext();) {
service = it.next();
if (type.equals(service.type)) {
lastType = type;
lastServicesByType = service;
return service;
}
}
return null;
}
代码示例来源:origin: com.bugvm/bugvm-rt
updatePropertyServiceTable();
代码示例来源:origin: com.gluonhq/robovm-rt
updatePropertyServiceTable();
代码示例来源:origin: FlexoVM/flexovm
updatePropertyServiceTable();
代码示例来源:origin: MobiVM/robovm
updatePropertyServiceTable();
代码示例来源:origin: ibinti/bugvm
updatePropertyServiceTable();
内容来源于网络,如有侵权,请联系作者删除!