use of com.evolveum.midpoint.xml.ns._public.common.common_3.ConnectorType in project midpoint by Evolveum.
the class ConnectorFactoryConnIdImpl method listLocalConnectors.
private Set<ConnectorType> listLocalConnectors() {
Set<ConnectorType> localConnectorTypes = new HashSet<>();
// Fetch list of local connectors from ICF
List<ConnectorInfo> connectorInfos = getLocalConnectorInfoManager().getConnectorInfos();
for (ConnectorInfo connectorInfo : connectorInfos) {
ConnectorType connectorType;
try {
connectorType = convertToConnectorType(connectorInfo, null);
localConnectorTypes.add(connectorType);
} catch (SchemaException e) {
LOGGER.error("Schema error while initializing ConnId connector {}: {}", getConnectorDesc(connectorInfo), e.getMessage(), e);
}
}
return localConnectorTypes;
}
Aggregations