use of org.openecard.addon.manifest.ProtocolPluginSpecification in project open-ecard by ecsec.
the class StatusHandler method getProtocolInfo.
@Nonnull
private List<String> getProtocolInfo(AddonManager manager) {
TreeSet<String> result = new TreeSet<>();
// check all sal protocols in the
AddonRegistry registry = manager.getRegistry();
Set<AddonSpecification> addons = registry.listAddons();
for (AddonSpecification addon : addons) {
for (ProtocolPluginSpecification proto : addon.getSalActions()) {
result.add(proto.getUri());
}
}
return new ArrayList<>(result);
}
Aggregations