public ConnectorFacadeProxy(final ConnInstance connInstance) {
this.activeConnInstance = connInstance;
ConnIdBundleManager connIdBundleManager =
ApplicationContextProvider.getApplicationContext().getBean(ConnIdBundleManager.class);
ConnectorInfo info = connIdBundleManager.getConnectorInfo(connInstance.getLocation(),
connInstance.getBundleName(), connInstance.getVersion(), connInstance.getConnectorName());
// create default configuration
APIConfiguration apiConfig = info.createDefaultAPIConfiguration();
// set connector configuration according to conninstance's
ConfigurationProperties properties = apiConfig.getConfigurationProperties();
for (ConnConfProperty property : connInstance.getConfiguration()) {
if (property.getValues() != null && !property.getValues().isEmpty()) {