// Create the projection for the system repository ...
ProjectionParser projectionParser = ProjectionParser.getInstance();
String rule = "/jcr:system => /jcr:system";
Projection.Rule[] systemProjectionRules = projectionParser.rulesFromString(this.executionContext, rule);
this.systemSourceProjection = new Projection(systemSourceName, systemWorkspaceName, true, systemProjectionRules);
// Define the federated repository source. Use the same name as the repository, since this federated source
// will not be in the connection factory ...
this.federatedSource = new FederatedRepositorySource();
this.federatedSource.setName("JCR " + repositorySourceName);