}
}
public void testBackupFilesRepositoryConfiguration() throws Exception
{
InitParams params = new InitParams();
ValueParam confPath = new ValueParam();
confPath.setDescription("JCR configuration file");
confPath.setName("conf-path");
confPath.setValue("jar:/conf/standalone/test-jcr-config-jbc.xml");
params.addParam(confPath);
ValueParam maxBackupFiles = new ValueParam();
maxBackupFiles.setName("max-backup-files");
maxBackupFiles.setValue("5");
params.addParam(maxBackupFiles);
ConfigurationManagerImpl configManager =
(ConfigurationManagerImpl)container.getComponentInstanceOfType(ConfigurationManagerImpl.class);
InitialContextInitializer context =
(InitialContextInitializer)container.getComponentInstanceOfType(InitialContextInitializer.class);