diff --git a/OpenICF-java-framework/connector-framework-internal/src/main/java/org/identityconnectors/framework/impl/api/local/LocalConnectorInfoManagerImpl.java b/OpenICF-java-framework/connector-framework-internal/src/main/java/org/identityconnectors/framework/impl/api/local/LocalConnectorInfoManagerImpl.java index 3989c5ee..df7d2a16 100644 --- a/OpenICF-java-framework/connector-framework-internal/src/main/java/org/identityconnectors/framework/impl/api/local/LocalConnectorInfoManagerImpl.java +++ b/OpenICF-java-framework/connector-framework-internal/src/main/java/org/identityconnectors/framework/impl/api/local/LocalConnectorInfoManagerImpl.java @@ -239,6 +239,7 @@ public static WorkingBundleInfo processURL(final URL url, final boolean topLevel public static List createConnectorInfo( final Collection parsed, final ClassLoader bundleParentClassLoader) throws ConfigurationException { + LOG.info("createConnectorInfo {0}",parsed); final List rv = new ArrayList(); for (WorkingBundleInfo bundleInfo : parsed) { final ClassLoader loader = diff --git a/OpenICF-java-framework/connector-framework-internal/src/main/java/org/identityconnectors/framework/impl/api/local/WorkingBundleInfo.java b/OpenICF-java-framework/connector-framework-internal/src/main/java/org/identityconnectors/framework/impl/api/local/WorkingBundleInfo.java index eab46233..8bcb45bd 100644 --- a/OpenICF-java-framework/connector-framework-internal/src/main/java/org/identityconnectors/framework/impl/api/local/WorkingBundleInfo.java +++ b/OpenICF-java-framework/connector-framework-internal/src/main/java/org/identityconnectors/framework/impl/api/local/WorkingBundleInfo.java @@ -177,4 +177,19 @@ private static void resolveEffectiveProperties(List info.effectiveContents = contents; } } + + @Override + public String toString() { + return "WorkingBundleInfo{" + + "originalLocation='" + originalLocation + '\'' + + ", bundleManifest=" + bundleManifest + + ", immediateBundleContents=" + immediateBundleContents + + ", immediateClassPath=" + immediateClassPath + + ", immediateNativeLibraries=" + immediateNativeLibraries + + ", embeddedBundles=" + embeddedBundles + + ", effectiveClassPath=" + effectiveClassPath + + ", effectiveNativeLibraries=" + effectiveNativeLibraries + + ", effectiveContents=" + effectiveContents + + '}'; + } } diff --git a/OpenICF-java-framework/connector-framework-server/src/main/java/org/forgerock/openicf/framework/local/AsyncLocalConnectorInfoManager.java b/OpenICF-java-framework/connector-framework-server/src/main/java/org/forgerock/openicf/framework/local/AsyncLocalConnectorInfoManager.java index 920acfec..d0a056c3 100644 --- a/OpenICF-java-framework/connector-framework-server/src/main/java/org/forgerock/openicf/framework/local/AsyncLocalConnectorInfoManager.java +++ b/OpenICF-java-framework/connector-framework-server/src/main/java/org/forgerock/openicf/framework/local/AsyncLocalConnectorInfoManager.java @@ -65,16 +65,13 @@ public void addConnectorInfo(LocalConnectorInfoImpl connectorInfo) { } public void addConnectorBundle(Collection connectorBundleURLs) { - logger.info("add {0}",connectorBundleURLs); final List workingInfo = new ArrayList(); for (URL url : connectorBundleURLs) { WorkingBundleInfo info = null; try { if ("file".equals(url.getProtocol())) { final File file = new File(url.toURI()); - logger.info("file {0}",file); if (file.isDirectory()) { - logger.info("isDirectory {0}",file); info = processDirectory(file); } } @@ -84,9 +81,10 @@ public void addConnectorBundle(Collection connectorBundleURLs) { } catch (URISyntaxException e) { throw new ConfigurationException("Invalid bundleURL: " + url.toExternalForm(), e); } - logger.info("workingInfo {0}",info); workingInfo.add(info); } + logger.info("workingInfo {0}",workingInfo); + logger.info("connectorBundleParentClassLoader {0}",connectorBundleParentClassLoader); WorkingBundleInfo.resolve(workingInfo); for (ConnectorInfo connectorInfo : createConnectorInfo(workingInfo, connectorBundleParentClassLoader)) {