config.triggerChange( prefix + ".policies.cache-failures", connectorConfig.getPolicy( "cache-failures", "" ) );
}
protected void saveManagedRepositoryConfig( String id, String name, String path, String layout )
{
ManagedRepositoryConfiguration repoConfig = new ManagedRepositoryConfiguration();
repoConfig.setId( id );
repoConfig.setName( name );
repoConfig.setLayout( layout );
repoConfig.setLocation( path );
int count = config.getConfiguration().getManagedRepositories().size();
config.getConfiguration().addManagedRepository( repoConfig );
String prefix = "managedRepositories.managedRepository(" + count + ")";
config.triggerChange( prefix + ".id", repoConfig.getId() );
config.triggerChange( prefix + ".name", repoConfig.getName() );
config.triggerChange( prefix + ".location", repoConfig.getLocation() );
config.triggerChange( prefix + ".layout", repoConfig.getLayout() );
}