{
RepositoryService repositoryService =
(RepositoryService)container.getComponentInstanceOfType(RepositoryService.class);
RepositoryImpl repository1 = (RepositoryImpl)repositoryService.getRepository("repository1");
WorkspaceContainerFacade wsc1 = repository1.getWorkspaceContainer("collaboration");
final WorkspaceDataContainer dataContainer1 =
(WorkspaceDataContainer)wsc1.getComponent(WorkspaceDataContainer.class);
WorkspaceContainerFacade wsc1s = repository1.getWorkspaceContainer("system");
final WorkspaceDataContainer dataContainer1s =
(WorkspaceDataContainer)wsc1s.getComponent(WorkspaceDataContainer.class);
RepositoryImpl repository2 = (RepositoryImpl)repositoryService.getRepository("repository2");
WorkspaceContainerFacade wsc2 = repository2.getWorkspaceContainer("collaboration");
final WorkspaceDataContainer dataContainer2 =
(WorkspaceDataContainer)wsc2.getComponent(WorkspaceDataContainer.class);
WorkspaceContainerFacade wsc2s = repository2.getWorkspaceContainer("system");
final WorkspaceDataContainer dataContainer2s =
(WorkspaceDataContainer)wsc2s.getComponent(WorkspaceDataContainer.class);
System.out.println("########################################");
int totalTimes;