throws RepositoryException {
if (createWorkspaceEventChannel == null) {
createWorkspaceInternal(workspaceName, configTemplate);
} else {
ClonedInputSource template = new ClonedInputSource(configTemplate);
createWorkspaceInternal(workspaceName, template.cloneInputSource());
createWorkspaceEventChannel.workspaceCreated(workspaceName, template);
}
}