if (shareModDefinition == null) {
getLog().error("Unknown content share type '" + shareConfig.getImplClassName() + "'");
continue;
}
ShareProperties props = (ShareProperties) shareModDefinition.getProperties();
try {
ShareDefinition shareDefinition = props.createShareDefinition(shareConfig);
shareDefinition.setOrigin(ShareDefinition.ORIGIN_WGACONFIG);
getLog().info("Initializing content share '" + shareConfig.getName() + "'");
shareDefinition.init(this);
newShares.put(shareConfig.getName(), shareDefinition);
}